#005A42
Closest named color: Spruce (#0A5F38). oklch(41.5% 0.085 167.2), rgb(0, 90, 66).
Aa
White text reads best on this color (8.26:1).
About this color
#005A42 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.085 and its hue 167°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.026 away. White text reads best on it, at 8.26:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.085) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.54:1 |
| White text | 8.26:1 |
Values
| HEX | #005A42 |
| RGB | rgb(0, 90, 66) |
| HSL | hsl(164, 100%, 18%) |
| OKLCH | oklch(41.5% 0.085 167.2) |
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 #005A42 | 8.26:1 | AAA | Lc -92.7 | Preferred for body text |
| Black text on #005A42 | 2.54:1 | Fails | Lc 16.0 | Dividers and decoration only |
| #005A42 text on white | 8.26:1 | AAA | Lc 88.0 | Fine for body text |
| #005A42 text on black | 2.54:1 | Fails | Lc -14.1 | Not readable |
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 800.
-
Step 50
50
#F1F7F4
oklch(97.1% 0.007 164.9)
-
Step 100
100
#E1EDE8
oklch(93.6% 0.014 169.2)
-
Step 200
200
#C9DFD5
oklch(88.4% 0.027 166.7)
-
Step 300
300
#A3CBBA
oklch(80.8% 0.049 167.4)
-
Step 400
400
#6EB196
oklch(70.8% 0.08 166.6)
-
Step 500
500
#409D7D
oklch(63.1% 0.101 167.4)
-
Step 600
600
#108766
oklch(55.5% 0.109 167.5)
-
Step 700
700
#007255
oklch(49% 0.1 167.6)
-
Step 800
800 (this color)
#005A42
oklch(41.5% 0.085 167.2)
-
Step 900
900
#154D3A
oklch(37.8% 0.067 166.5)
-
Step 950
950
#0E2D22
oklch(27% 0.042 167)
#005A42 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) | #585341 | 0.085 |
| Deuteranopia (no green cones) | #4E4C44 | 0.082 |
| Tritanopia (no blue cones) | #005A53 | 0.028 |
| Achromatopsia (no color) | #4E4E4E | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #005A42
#005A42
oklch(41.5% 0.085 167.2)
- #6C3754
#6C3754
oklch(41.4% 0.084 347.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes and gradients that use #005A42
These curated palettes and gradients contain exactly #005A42. Open one to see the full color scheme around it.
Palettes
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.026
- Dark Blue Green #005249 ΔE 0.033
- Pine #2B5D34 ΔE 0.033
- Dark Green Blue #1F6357 ΔE 0.044
- Deep Teal #00555A ΔE 0.048
- Dark Teal #014D4E ΔE 0.054
- Dark Slate Gray #2F4F4F ΔE 0.056
- Deep Green #02590F ΔE 0.062
Use #005A42 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.