#0C5F3E
Closest named color: Spruce (#0A5F38). oklch(43.1% 0.092 160.1), rgb(12, 95, 62).
Aa
White text reads best on this color (7.71:1).
About this color
#0C5F3E is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.092 and its hue 160°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.009 away. White text reads best on it, at 7.71:1.
| Hue family | Greens |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.092) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.72:1 |
| White text | 7.71:1 |
Values
| HEX | #0C5F3E |
| RGB | rgb(12, 95, 62) |
| HSL | hsl(156, 78%, 21%) |
| OKLCH | oklch(43.1% 0.092 160.1) |
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 #0C5F3E | 7.71:1 | AAA | Lc -91.2 | Preferred for body text |
| Black text on #0C5F3E | 2.72:1 | Fails | Lc 17.6 | Dividers and decoration only |
| #0C5F3E text on white | 7.71:1 | AAA | Lc 86.4 | Fine for body text |
| #0C5F3E text on black | 2.72:1 | Fails | Lc -15.7 | Dividers and decoration only |
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
#E1EDE6
oklch(93.5% 0.016 160.6)
-
Step 200
200
#C9E0D2
oklch(88.6% 0.031 159)
-
Step 300
300
#A3CCB5
oklch(80.9% 0.054 160.3)
-
Step 400
400
#6EB18E
oklch(70.6% 0.086 160.3)
-
Step 500
500
#429E72
oklch(63.2% 0.111 159.9)
-
Step 600
600
#14885A
oklch(55.5% 0.12 159.9)
-
Step 700
700
#00734A
oklch(49% 0.111 160)
-
Step 800
800 (this color)
#0C5F3E
oklch(43.1% 0.092 160.1)
-
Step 900
900
#164D34
oklch(37.7% 0.072 159.9)
-
Step 950
950
#0F2D1F
oklch(26.9% 0.045 160.9)
#0C5F3E 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) | #5E573C | 0.088 |
| Deuteranopia (no green cones) | #545040 | 0.085 |
| Tritanopia (no blue cones) | #005F56 | 0.038 |
| Achromatopsia (no color) | #535353 | 0.093 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C5F3E
#0C5F3E
oklch(43.1% 0.092 160.1)
- #713A60
#713A60
oklch(43.1% 0.093 340.1)
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 #0C5F3E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.009
- Pine #2B5D34 ΔE 0.020
- Dark Green Blue #1F6357 ΔE 0.042
- Dark Blue Green #005249 ΔE 0.053
- Deep Green #02590F ΔE 0.055
- Navy Green #35530A ΔE 0.058
- Forest #0B5509 ΔE 0.061
- Army Green #4B5D16 ΔE 0.063
Use #0C5F3E 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.