#5F786C
Closest named color: Battleship Gray (#6C757D). oklch(54.9% 0.035 164.4), rgb(95, 120, 108).
Aa
White text reads best on this color (4.78:1).
About this color
#5F786C is a medium-dark, muted green. In OKLCH its lightness is 55%, its chroma 0.035 and its hue 164°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Battleship Gray (#6C757D), ΔE 0.037 away. White text reads best on it, at 4.78:1.
| Hue family | Greens |
| Lightness | medium-dark (55%) |
| Chroma | muted (0.035) |
| Temperature | in between |
| Nearest name | Battleship Gray (#6C757D) |
| Black text | 4.38:1 |
| White text | 4.78:1 |
Values
| HEX | #5F786C |
| RGB | rgb(95, 120, 108) |
| HSL | hsl(151, 12%, 42%) |
| OKLCH | oklch(54.9% 0.035 164.4) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #5F786C | 4.78:1 | AA | Lc -78.6 | Fine for body text |
| Black text on #5F786C | 4.38:1 | AA large text | Lc 30.9 | Non-text elements, placeholder text |
| #5F786C text on white | 4.78:1 | AA | Lc 73.2 | Content text, not long reading |
| #5F786C text on black | 4.38:1 | AA large text | Lc -28.5 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F4F6F5
oklch(97.1% 0.002 165.1)
-
Step 100
100
#E7EBE9
oklch(93.6% 0.005 165)
-
Step 200
200
#D4DBD7
oklch(88.5% 0.009 161.3)
-
Step 300
300
#B8C4BE
oklch(80.9% 0.016 164.6)
-
Step 400
400
#93A69C
oklch(70.7% 0.026 162.8)
-
Step 500
500
#789084
oklch(63.1% 0.033 163.7)
-
Step 600
600 (this color)
#5F786C
oklch(54.9% 0.035 164.4)
-
Step 700
700
#50675C
oklch(49.2% 0.033 164.4)
-
Step 800
800
#42544B
oklch(42.8% 0.027 163.4)
-
Step 900
900
#38453F
oklch(37.7% 0.02 165.7)
-
Step 950
950
#212925
oklch(27.2% 0.013 163.8)
#5F786C with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #77746B | 0.035 |
| Deuteranopia (no green cones) | #72716D | 0.033 |
| Tritanopia (no blue cones) | #5A7874 | 0.013 |
| Achromatopsia (no color) | #727272 | 0.035 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F786C
#5F786C
oklch(54.9% 0.035 164.4)
- #816A76
#816A76
oklch(55% 0.034 345.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #5F786C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Battleship Gray #6C757D ΔE 0.037
- Battleship Grey #6B7C85 ΔE 0.043
- Dim Gray #696969 ΔE 0.045
- Grey Blue #647D8E ΔE 0.052
- Grey Brown #7F7053 ΔE 0.053
- Medium Grey #7D7F7C ΔE 0.054
- Steel Grey #6F828A ΔE 0.055
- Dark Sage #598556 ΔE 0.060
Use #5F786C in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.