#0C4802
Closest named color: Darkgreen (#054907). oklch(35.1% 0.114 141.1), rgb(12, 72, 2).
Aa
White text reads best on this color (10.80:1).
About this color
#0C4802 is a dark, moderately saturated green. In OKLCH its lightness is 35%, its chroma 0.114 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Darkgreen (#054907), ΔE 0.004 away. White text reads best on it, at 10.80:1.
| Hue family | Greens |
| Lightness | dark (35%) |
| Chroma | moderately saturated (0.114) |
| Temperature | in between |
| Nearest name | Darkgreen (#054907) |
| Black text | 1.94:1 |
| White text | 10.80:1 |
Values
| HEX | #0C4802 |
| RGB | rgb(12, 72, 2) |
| HSL | hsl(111, 95%, 15%) |
| OKLCH | oklch(35.1% 0.114 141.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 #0C4802 | 10.80:1 | AAA | Lc -98.5 | Preferred for body text |
| Black text on #0C4802 | 1.94:1 | Fails | Lc 9.3 | Not readable |
| #0C4802 text on white | 10.80:1 | AAA | Lc 94.6 | Preferred for body text |
| #0C4802 text on black | 1.94:1 | Fails | Lc -8.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 900.
-
Step 50
50
#F1F7F0
oklch(97% 0.011 141.3)
-
Step 100
100
#E1EEDF
oklch(93.5% 0.024 141.5)
-
Step 200
200
#C9E1C4
oklch(88.4% 0.047 140.3)
-
Step 300
300
#A2CF9B
oklch(80.9% 0.086 141.3)
-
Step 400
400
#6EB563
oklch(70.6% 0.135 141.1)
-
Step 500
500
#41A232
oklch(63.1% 0.175 141.1)
-
Step 600
600
#1C8B00
oklch(55.5% 0.183 141.2)
-
Step 700
700
#167500
oklch(49% 0.162 141.2)
-
Step 800
800
#106000
oklch(42.6% 0.141 141.2)
-
Step 900
900 (this color)
#0C4802
oklch(35.1% 0.114 141.1)
-
Step 950
950
#0F2F0A
oklch(27.1% 0.072 141.1)
#0C4802 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) | #4A4000 | 0.079 |
| Deuteranopia (no green cones) | #443C0B | 0.078 |
| Tritanopia (no blue cones) | #00453C | 0.076 |
| Achromatopsia (no color) | #3D3D3D | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C4802
#0C4802
oklch(35.1% 0.114 141.1)
- #54215E
#54215E
oklch(35% 0.114 320.8)
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 #0C4802, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Darkgreen #054907 ΔE 0.004
- Bottle Green #044A05 ΔE 0.007
- British Racing Green #05480D ΔE 0.007
- Racing Green #014600 ΔE 0.010
- Forrest Green #154406 ΔE 0.015
- Pine Green #0A481E ΔE 0.025
- Hunter Green #0B4008 ΔE 0.029
- Forest #0B5509 ΔE 0.043
Use #0C4802 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.