#045E3D
Closest named color: Spruce (#0A5F38). oklch(42.6% 0.094 160.6), rgb(4, 94, 61).
Aa
White text reads best on this color (7.85:1).
About this color
#045E3D is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.094 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.009 away. White text reads best on it, at 7.85:1.
| Hue family | Greens |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.094) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.67:1 |
| White text | 7.85:1 |
Values
| HEX | #045E3D |
| RGB | rgb(4, 94, 61) |
| HSL | hsl(158, 92%, 19%) |
| OKLCH | oklch(42.6% 0.094 160.6) |
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 #045E3D | 7.85:1 | AAA | Lc -91.5 | Preferred for body text |
| Black text on #045E3D | 2.67:1 | Fails | Lc 17.2 | Dividers and decoration only |
| #045E3D text on white | 7.85:1 | AAA | Lc 86.8 | Fine for body text |
| #045E3D text on black | 2.67:1 | Fails | Lc -15.3 | 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 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
#A2CCB5
oklch(80.9% 0.055 160.9)
-
Step 400
400
#6DB28E
oklch(70.7% 0.088 160.2)
-
Step 500
500
#3F9E72
oklch(63.1% 0.112 160.4)
-
Step 600
600
#0B895B
oklch(55.7% 0.122 160.6)
-
Step 700
700
#00734B
oklch(49% 0.11 160.6)
-
Step 800
800 (this color)
#045E3D
oklch(42.6% 0.094 160.6)
-
Step 900
900
#144D34
oklch(37.6% 0.073 160.4)
-
Step 950
950
#0E2D1F
oklch(26.9% 0.046 161.4)
#045E3D 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) | #5D563B | 0.089 |
| Deuteranopia (no green cones) | #534F3F | 0.086 |
| Tritanopia (no blue cones) | #005E55 | 0.039 |
| Achromatopsia (no color) | #525252 | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #045E3D
#045E3D
oklch(42.6% 0.094 160.6)
- #70385E
#70385E
oklch(42.6% 0.094 340.8)
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 #045E3D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.009
- Pine #2B5D34 ΔE 0.022
- Dark Green Blue #1F6357 ΔE 0.045
- Dark Blue Green #005249 ΔE 0.051
- Deep Green #02590F ΔE 0.052
- Navy Green #35530A ΔE 0.056
- Forest #0B5509 ΔE 0.058
- Deep Teal #00555A ΔE 0.064
Use #045E3D 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.