#045C39
Closest named color: Spruce (#0A5F38). oklch(41.9% 0.095 158.8), rgb(4, 92, 57).
Aa
White text reads best on this color (8.09:1).
About this color
#045C39 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.095 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.011 away. White text reads best on it, at 8.09:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.095) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.59:1 |
| White text | 8.09:1 |
Values
| HEX | #045C39 |
| RGB | rgb(4, 92, 57) |
| HSL | hsl(156, 92%, 19%) |
| OKLCH | oklch(41.9% 0.095 158.8) |
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 #045C39 | 8.09:1 | AAA | Lc -92.2 | Preferred for body text |
| Black text on #045C39 | 2.59:1 | Fails | Lc 16.5 | Dividers and decoration only |
| #045C39 text on white | 8.09:1 | AAA | Lc 87.5 | Fine for body text |
| #045C39 text on black | 2.59:1 | Fails | Lc -14.6 | 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
#E1EDE6
oklch(93.5% 0.016 160.6)
-
Step 200
200
#C9E0D2
oklch(88.6% 0.031 159)
-
Step 300
300
#A3CCB4
oklch(80.9% 0.055 159.2)
-
Step 400
400
#6EB28C
oklch(70.7% 0.089 158.6)
-
Step 500
500
#419E70
oklch(63.1% 0.113 159)
-
Step 600
600
#128858
oklch(55.5% 0.123 159.1)
-
Step 700
700
#007348
oklch(49% 0.113 158.9)
-
Step 800
800 (this color)
#045C39
oklch(41.9% 0.095 158.8)
-
Step 900
900
#154D33
oklch(37.6% 0.073 159.2)
-
Step 950
950
#0F2D1E
oklch(26.9% 0.046 159.2)
#045C39 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) | #5B5437 | 0.088 |
| Deuteranopia (no green cones) | #514D3B | 0.085 |
| Tritanopia (no blue cones) | #005B53 | 0.043 |
| Achromatopsia (no color) | #505050 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #045C39
#045C39
oklch(41.9% 0.095 158.8)
- #6D365E
#6D365E
oklch(41.8% 0.095 338.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 #045C39, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.011
- Pine #2B5D34 ΔE 0.023
- Deep Green #02590F ΔE 0.047
- Dark Blue Green #005249 ΔE 0.049
- Forest #0B5509 ΔE 0.051
- Navy Green #35530A ΔE 0.051
- Dark Green Blue #1F6357 ΔE 0.051
- Dark Green #006400 ΔE 0.065
Use #045C39 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.