#045A32
Closest named color: Spruce (#0A5F38). oklch(41.2% 0.099 155.3), rgb(4, 90, 50).
Aa
White text reads best on this color (8.35:1).
About this color
#045A32 is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.099 and its hue 155°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.017 away. White text reads best on it, at 8.35:1.
| Hue family | Greens |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.099) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.51:1 |
| White text | 8.35:1 |
Values
| HEX | #045A32 |
| RGB | rgb(4, 90, 50) |
| HSL | hsl(152, 91%, 18%) |
| OKLCH | oklch(41.2% 0.099 155.3) |
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 #045A32 | 8.35:1 | AAA | Lc -93.0 | Preferred for body text |
| Black text on #045A32 | 2.51:1 | Fails | Lc 15.7 | Dividers and decoration only |
| #045A32 text on white | 8.35:1 | AAA | Lc 88.3 | Fine for body text |
| #045A32 text on black | 2.51:1 | Fails | Lc -13.8 | 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
#F2F7F3
oklch(97.1% 0.007 151.9)
-
Step 100
100
#E2EDE5
oklch(93.6% 0.016 154.5)
-
Step 200
200
#C9E0D0
oklch(88.5% 0.033 155.3)
-
Step 300
300
#A3CCB1
oklch(80.8% 0.058 156)
-
Step 400
400
#6FB287
oklch(70.7% 0.093 155.1)
-
Step 500
500
#439E69
oklch(63% 0.119 155.2)
-
Step 600
600
#188951
oklch(55.7% 0.129 155.3)
-
Step 700
700
#027441
oklch(49.1% 0.121 155.1)
-
Step 800
800 (this color)
#045A32
oklch(41.2% 0.099 155.3)
-
Step 900
900
#174D2F
oklch(37.6% 0.077 155.3)
-
Step 950
950
#0F2D1C
oklch(26.9% 0.048 156.1)
#045A32 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) | #5A522F | 0.089 |
| Deuteranopia (no green cones) | #504B35 | 0.086 |
| Tritanopia (no blue cones) | #005950 | 0.049 |
| Achromatopsia (no color) | #4E4E4E | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #045A32
#045A32
oklch(41.2% 0.099 155.3)
- #6B3360
#6B3360
oklch(41.2% 0.1 335.2)
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 #045A32, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.017
- Pine #2B5D34 ΔE 0.027
- Deep Green #02590F ΔE 0.038
- Forest #0B5509 ΔE 0.041
- Navy Green #35530A ΔE 0.044
- Dark Blue Green #005249 ΔE 0.052
- Pine Green #0A481E ΔE 0.060
- Dark Green #006400 ΔE 0.061
Use #045A32 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.