#0C5B23
Closest named color: Deep Green (#02590F). oklch(41.3% 0.114 147.7), rgb(12, 91, 35).
Aa
White text reads best on this color (8.27:1).
About this color
#0C5B23 is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.114 and its hue 148°. 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 8.27:1.
| Hue family | Greens |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.114) |
| Temperature | in between |
| Nearest name | Deep Green (#02590F) |
| Black text | 2.53:1 |
| White text | 8.27:1 |
Values
| HEX | #0C5B23 |
| RGB | rgb(12, 91, 35) |
| HSL | hsl(137, 77%, 20%) |
| OKLCH | oklch(41.3% 0.114 147.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 #0C5B23 | 8.27:1 | AAA | Lc -92.8 | Preferred for body text |
| Black text on #0C5B23 | 2.53:1 | Fails | Lc 15.9 | Dividers and decoration only |
| #0C5B23 text on white | 8.27:1 | AAA | Lc 88.1 | Fine for body text |
| #0C5B23 text on black | 2.53:1 | Fails | Lc -14.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
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E2EEE3
oklch(93.7% 0.019 147.8)
-
Step 200
200
#CAE0CC
oklch(88.5% 0.036 147.9)
-
Step 300
300
#A4CDA8
oklch(80.9% 0.067 147.5)
-
Step 400
400
#71B37A
oklch(70.7% 0.107 147.7)
-
Step 500
500
#479F57
oklch(63% 0.136 147.5)
-
Step 600
600
#208A3C
oklch(55.7% 0.148 147.7)
-
Step 700
700
#0E752E
oklch(49.2% 0.138 147.7)
-
Step 800
800 (this color)
#0C5B23
oklch(41.3% 0.114 147.7)
-
Step 900
900
#194E24
oklch(37.7% 0.089 147.6)
-
Step 950
950
#102E16
oklch(27.1% 0.057 148.1)
#0C5B23 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) | #5C521E | 0.090 |
| Deuteranopia (no green cones) | #534C27 | 0.088 |
| Tritanopia (no blue cones) | #00594F | 0.067 |
| Achromatopsia (no color) | #4E4E4E | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C5B23
#0C5B23
oklch(41.3% 0.114 147.7)
- #6B316A
#6B316A
oklch(41.4% 0.114 328)
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 #0C5B23, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Green #02590F ΔE 0.020
- Forest #0B5509 ΔE 0.026
- Spruce #0A5F38 ΔE 0.027
- Pine #2B5D34 ΔE 0.034
- Navy Green #35530A ΔE 0.036
- Dark Green #006400 ΔE 0.043
- Bottle Green #044A05 ΔE 0.058
- Army Green #4B5D16 ΔE 0.060
Use #0C5B23 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.