#0F5C2A
Closest named color: Spruce (#0A5F38). oklch(41.8% 0.108 149.7), rgb(15, 92, 42).
Aa
White text reads best on this color (8.12:1).
About this color
#0F5C2A is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.108 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.018 away. White text reads best on it, at 8.12:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.108) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.58:1 |
| White text | 8.12:1 |
Values
| HEX | #0F5C2A |
| RGB | rgb(15, 92, 42) |
| HSL | hsl(141, 72%, 21%) |
| OKLCH | oklch(41.8% 0.108 149.7) |
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 #0F5C2A | 8.12:1 | AAA | Lc -92.4 | Preferred for body text |
| Black text on #0F5C2A | 2.58:1 | Fails | Lc 16.3 | Dividers and decoration only |
| #0F5C2A text on white | 8.12:1 | AAA | Lc 87.7 | Fine for body text |
| #0F5C2A text on black | 2.58:1 | Fails | Lc -14.4 | 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
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E2EDE3
oklch(93.5% 0.018 148.1)
-
Step 200
200
#CAE0CD
oklch(88.5% 0.035 149.3)
-
Step 300
300
#A5CDAB
oklch(81% 0.064 149.2)
-
Step 400
400
#71B27F
oklch(70.6% 0.1 150.1)
-
Step 500
500
#479F5E
oklch(63.2% 0.129 149.8)
-
Step 600
600
#218943
oklch(55.6% 0.14 149.6)
-
Step 700
700
#0F7435
oklch(49.1% 0.13 149.8)
-
Step 800
800 (this color)
#0F5C2A
oklch(41.8% 0.108 149.7)
-
Step 900
900
#194E28
oklch(37.8% 0.085 149.7)
-
Step 950
950
#112E18
oklch(27.2% 0.054 149.5)
#0F5C2A 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) | #5D5326 | 0.089 |
| Deuteranopia (no green cones) | #544D2E | 0.088 |
| Tritanopia (no blue cones) | #005A50 | 0.060 |
| Achromatopsia (no color) | #505050 | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0F5C2A
#0F5C2A
oklch(41.8% 0.108 149.7)
- #6C3468
#6C3468
oklch(41.9% 0.107 330)
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 #0F5C2A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.018
- Pine #2B5D34 ΔE 0.026
- Deep Green #02590F ΔE 0.028
- Forest #0B5509 ΔE 0.035
- Navy Green #35530A ΔE 0.038
- Dark Green #006400 ΔE 0.047
- Army Green #4B5D16 ΔE 0.057
- Camouflage Green #4B6113 ΔE 0.062
Use #0F5C2A 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.