#245A42
Closest named color: Pine (#2B5D34). oklch(42.4% 0.071 161.9), rgb(36, 90, 66).
Aa
White text reads best on this color (8.02:1).
About this color
#245A42 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.071 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.02:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.071) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 2.61:1 |
| White text | 8.02:1 |
Values
| HEX | #245A42 |
| RGB | rgb(36, 90, 66) |
| HSL | hsl(153, 43%, 25%) |
| OKLCH | oklch(42.4% 0.071 161.9) |
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 #245A42 | 8.02:1 | AAA | Lc -92.3 | Preferred for body text |
| Black text on #245A42 | 2.61:1 | Fails | Lc 16.4 | Dividers and decoration only |
| #245A42 text on white | 8.02:1 | AAA | Lc 87.6 | Fine for body text |
| #245A42 text on black | 2.61: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
#CDDED4
oklch(88.5% 0.023 160.2)
-
Step 300
300
#AAC9B8
oklch(80.8% 0.041 161.4)
-
Step 400
400
#7BAE94
oklch(70.7% 0.066 161.9)
-
Step 500
500
#579A7A
oklch(63.2% 0.085 161.9)
-
Step 600
600
#398463
oklch(55.6% 0.091 162.2)
-
Step 700
700
#2B7052
oklch(49.2% 0.085 162)
-
Step 800
800 (this color)
#245A42
oklch(42.4% 0.071 161.9)
-
Step 900
900
#244B38
oklch(37.8% 0.056 160.9)
-
Step 950
950
#162C21
oklch(27.1% 0.035 161)
#245A42 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.068 |
| Deuteranopia (no green cones) | #514E44 | 0.066 |
| Tritanopia (no blue cones) | #0E5A53 | 0.029 |
| Achromatopsia (no color) | #505050 | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #245A42
#245A42
oklch(42.4% 0.071 161.9)
- #683E59
#683E59
oklch(42.3% 0.07 341.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 #245A42, 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.030
- Dark Green Blue #1F6357 ΔE 0.037
- Dark Blue Green #005249 ΔE 0.039
- Dark Slate Gray #2F4F4F ΔE 0.049
- Deep Teal #00555A ΔE 0.050
- Dark Teal #014D4E ΔE 0.059
- Navy Green #35530A ΔE 0.060
Use #245A42 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.