#045E21
Closest named color: Deep Green (#02590F). oklch(42.1% 0.122 147.4), rgb(4, 94, 33).
Aa
White text reads best on this color (7.99:1).
About this color
#045E21 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.122 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.020 away. White text reads best on it, at 7.99:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.122) |
| Temperature | in between |
| Nearest name | Deep Green (#02590F) |
| Black text | 2.62:1 |
| White text | 7.99:1 |
Values
| HEX | #045E21 |
| RGB | rgb(4, 94, 33) |
| HSL | hsl(139, 92%, 19%) |
| OKLCH | oklch(42.1% 0.122 147.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 #045E21 | 7.99:1 | AAA | Lc -91.9 | Preferred for body text |
| Black text on #045E21 | 2.62:1 | Fails | Lc 16.9 | Dividers and decoration only |
| #045E21 text on white | 7.99:1 | AAA | Lc 87.1 | Fine for body text |
| #045E21 text on black | 2.62:1 | Fails | Lc -15.0 | 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
#F1F7F2
oklch(97% 0.009 150.7)
-
Step 100
100
#E1EEE2
oklch(93.6% 0.021 147.6)
-
Step 200
200
#C9E1CB
oklch(88.6% 0.039 147.6)
-
Step 300
300
#A3CEA7
oklch(81% 0.071 147.4)
-
Step 400
400
#6DB477
oklch(70.7% 0.114 147.6)
-
Step 500
500
#40A053
oklch(63% 0.145 147.6)
-
Step 600
600
#118B36
oklch(55.7% 0.158 147.4)
-
Step 700
700
#00752A
oklch(49% 0.144 147.5)
-
Step 800
800 (this color)
#045E21
oklch(42.1% 0.122 147.4)
-
Step 900
900
#154F22
oklch(37.9% 0.095 147.5)
-
Step 950
950
#0E2E14
oklch(26.9% 0.06 147.5)
#045E21 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) | #5F541A | 0.095 |
| Deuteranopia (no green cones) | #564E26 | 0.094 |
| Tritanopia (no blue cones) | #005C51 | 0.072 |
| Achromatopsia (no color) | #515151 | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #045E21
#045E21
oklch(42.1% 0.122 147.4)
- #6F316F
#6F316F
oklch(42.2% 0.121 327.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 #045E21, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Green #02590F ΔE 0.020
- Spruce #0A5F38 ΔE 0.029
- Forest #0B5509 ΔE 0.031
- Dark Green #006400 ΔE 0.033
- Pine #2B5D34 ΔE 0.037
- Navy Green #35530A ΔE 0.042
- Army Green #4B5D16 ΔE 0.059
- Camouflage Green #4B6113 ΔE 0.061
Use #045E21 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.