#0C5D2D
Closest named color: Spruce (#0A5F38). oklch(42.1% 0.107 151.2), rgb(12, 93, 45).
Aa
White text reads best on this color (8.01:1).
About this color
#0C5D2D is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.107 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.015 away. White text reads best on it, at 8.01:1.
| Hue family | Greens |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.107) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.61:1 |
| White text | 8.01:1 |
Values
| HEX | #0C5D2D |
| RGB | rgb(12, 93, 45) |
| HSL | hsl(144, 77%, 21%) |
| OKLCH | oklch(42.1% 0.107 151.2) |
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 #0C5D2D | 8.01:1 | AAA | Lc -92.0 | Preferred for body text |
| Black text on #0C5D2D | 2.61:1 | Fails | Lc 16.7 | Dividers and decoration only |
| #0C5D2D text on white | 8.01:1 | AAA | Lc 87.3 | Fine for body text |
| #0C5D2D text on black | 2.61:1 | Fails | Lc -14.8 | 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
#F2F7F3
oklch(97.1% 0.007 151.9)
-
Step 100
100
#E2EEE4
oklch(93.7% 0.018 150.5)
-
Step 200
200
#C9E0CE
oklch(88.5% 0.035 152)
-
Step 300
300
#A4CDAC
oklch(81% 0.063 150.6)
-
Step 400
400
#70B381
oklch(70.8% 0.1 151.2)
-
Step 500
500
#459F60
oklch(63.1% 0.128 150.9)
-
Step 600
600
#1B8947
oklch(55.5% 0.138 151.4)
-
Step 700
700
#077438
oklch(49% 0.129 151.3)
-
Step 800
800 (this color)
#0C5D2D
oklch(42.1% 0.107 151.2)
-
Step 900
900
#184E2A
oklch(37.8% 0.083 151.2)
-
Step 950
950
#102E19
oklch(27.1% 0.053 151.2)
#0C5D2D 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) | #5D5429 | 0.089 |
| Deuteranopia (no green cones) | #544E30 | 0.087 |
| Tritanopia (no blue cones) | #005B52 | 0.059 |
| Achromatopsia (no color) | #505050 | 0.107 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C5D2D
#0C5D2D
oklch(42.1% 0.107 151.2)
- #6D3468
#6D3468
oklch(42% 0.108 330.7)
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 #0C5D2D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.015
- Pine #2B5D34 ΔE 0.024
- Deep Green #02590F ΔE 0.032
- Forest #0B5509 ΔE 0.039
- Navy Green #35530A ΔE 0.042
- Dark Green #006400 ΔE 0.048
- Army Green #4B5D16 ΔE 0.058
- Camouflage Green #4B6113 ΔE 0.062
Use #0C5D2D 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.