#225A42
Closest named color: Pine (#2B5D34). oklch(42.3% 0.072 162.5), rgb(34, 90, 66).
Aa
White text reads best on this color (8.04:1).
About this color
#225A42 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.072 and its hue 162°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.026 away. White text reads best on it, at 8.04:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.072) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 2.60:1 |
| White text | 8.04:1 |
Values
| HEX | #225A42 |
| RGB | rgb(34, 90, 66) |
| HSL | hsl(154, 45%, 24%) |
| OKLCH | oklch(42.3% 0.072 162.5) |
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 #225A42 | 8.04:1 | AAA | Lc -92.4 | Preferred for body text |
| Black text on #225A42 | 2.60:1 | Fails | Lc 16.3 | Dividers and decoration only |
| #225A42 text on white | 8.04:1 | AAA | Lc 87.7 | Fine for body text |
| #225A42 text on black | 2.60:1 | Fails | Lc -14.5 | 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
#F2F7F4
oklch(97.2% 0.007 160.1)
-
Step 100
100
#E3ECE7
oklch(93.5% 0.012 162)
-
Step 200
200
#CCDED4
oklch(88.4% 0.024 161.7)
-
Step 300
300
#A9CAB9
oklch(81% 0.043 162.9)
-
Step 400
400
#7AAE94
oklch(70.7% 0.067 162.3)
-
Step 500
500
#559A7A
oklch(63.1% 0.086 162.5)
-
Step 600
600
#378463
oklch(55.6% 0.093 162.6)
-
Step 700
700
#287052
oklch(49.1% 0.087 162.6)
-
Step 800
800 (this color)
#225A42
oklch(42.3% 0.072 162.5)
-
Step 900
900
#234B39
oklch(37.8% 0.055 162.7)
-
Step 950
950
#152C21
oklch(27% 0.036 161.9)
#225A42 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) | #595441 | 0.070 |
| Deuteranopia (no green cones) | #514E44 | 0.068 |
| Tritanopia (no blue cones) | #085A53 | 0.029 |
| Achromatopsia (no color) | #505050 | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #225A42
#225A42
oklch(42.3% 0.072 162.5)
- #693D59
#693D59
oklch(42.3% 0.073 342)
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 #225A42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine #2B5D34 ΔE 0.026
- Spruce #0A5F38 ΔE 0.029
- Dark Green Blue #1F6357 ΔE 0.037
- Dark Blue Green #005249 ΔE 0.038
- Dark Slate Gray #2F4F4F ΔE 0.049
- Deep Teal #00555A ΔE 0.050
- Dark Teal #014D4E ΔE 0.058
- Navy Green #35530A ΔE 0.060
Use #225A42 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.