#5F796E
Closest named color: Battleship Gray (#6C757D). oklch(55.2% 0.035 167.4), rgb(95, 121, 110).
Aa
White text reads best on this color (4.72:1).
About this color
#5F796E is a medium-dark, muted green. In OKLCH its lightness is 55%, its chroma 0.035 and its hue 167°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Battleship Gray (#6C757D), ΔE 0.035 away. White text reads best on it, at 4.72:1.
| Hue family | Greens |
| Lightness | medium-dark (55%) |
| Chroma | muted (0.035) |
| Temperature | in between |
| Nearest name | Battleship Gray (#6C757D) |
| Black text | 4.44:1 |
| White text | 4.72:1 |
Values
| HEX | #5F796E |
| RGB | rgb(95, 121, 110) |
| HSL | hsl(155, 12%, 42%) |
| OKLCH | oklch(55.2% 0.035 167.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 #5F796E | 4.72:1 | AA | Lc -78.2 | Fine for body text |
| Black text on #5F796E | 4.44:1 | AA large text | Lc 31.3 | Non-text elements, placeholder text |
| #5F796E text on white | 4.72:1 | AA | Lc 72.8 | Content text, not long reading |
| #5F796E text on black | 4.44:1 | AA large text | Lc -28.9 | 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
#D4DBD8
oklch(88.5% 0.009 168.7)
-
Step 300
300
#B8C4BE
oklch(80.9% 0.016 164.6)
-
Step 400
400
#92A69D
oklch(70.7% 0.026 166.8)
-
Step 500
500
#789085
oklch(63.1% 0.032 165.9)
-
Step 600
600 (this color)
#5F796E
oklch(55.2% 0.035 167.4)
-
Step 700
700
#4F675D
oklch(49.1% 0.033 167.6)
-
Step 800
800
#41544C
oklch(42.7% 0.027 167.5)
-
Step 900
900
#37453F
oklch(37.6% 0.021 167.3)
-
Step 950
950
#202925
oklch(27.1% 0.015 166.5)
#5F796E 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) | #78756D | 0.036 |
| Deuteranopia (no green cones) | #73726F | 0.034 |
| Tritanopia (no blue cones) | #5A7976 | 0.013 |
| Achromatopsia (no color) | #737373 | 0.035 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F796E
#5F796E
oklch(55.2% 0.035 167.4)
- #826A76
#826A76
oklch(55.1% 0.035 346.7)
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 #5F796E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Battleship Gray #6C757D ΔE 0.035
- Battleship Grey #6B7C85 ΔE 0.040
- Dim Gray #696969 ΔE 0.047
- Grey Blue #647D8E ΔE 0.049
- Steel Grey #6F828A ΔE 0.052
- Medium Grey #7D7F7C ΔE 0.052
- Grey Brown #7F7053 ΔE 0.055
- Slate Gray #708090 ΔE 0.059
Use #5F796E 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.