#0C502D
Closest named color: Pine Green (#0A481E). oklch(38.2% 0.088 154.9), rgb(12, 80, 45).
Aa
White text reads best on this color (9.54:1).
About this color
#0C502D is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.088 and its hue 155°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.030 away. White text reads best on it, at 9.54:1.
| Hue family | Greens |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.088) |
| Temperature | in between |
| Nearest name | Pine Green (#0A481E) |
| Black text | 2.20:1 |
| White text | 9.54:1 |
Values
| HEX | #0C502D |
| RGB | rgb(12, 80, 45) |
| HSL | hsl(149, 74%, 18%) |
| OKLCH | oklch(38.2% 0.088 154.9) |
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 #0C502D | 9.54:1 | AAA | Lc -96.0 | Preferred for body text |
| Black text on #0C502D | 2.20:1 | Fails | Lc 12.3 | Not readable |
| #0C502D text on white | 9.54:1 | AAA | Lc 91.7 | Preferred for body text |
| #0C502D text on black | 2.20:1 | Fails | Lc -10.7 | 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
#F1F7F3
oklch(97.1% 0.008 157.1)
-
Step 100
100
#E0EEE4
oklch(93.6% 0.02 154.9)
-
Step 200
200
#C7E1CF
oklch(88.6% 0.037 155.4)
-
Step 300
300
#9FCEAE
oklch(80.9% 0.067 154.9)
-
Step 400
400
#67B483
oklch(70.7% 0.106 154.7)
-
Step 500
500
#33A164
oklch(63.2% 0.135 154.8)
-
Step 600
600
#008A4D
oklch(55.6% 0.138 154.7)
-
Step 700
700
#007440
oklch(49.1% 0.122 154.8)
-
Step 800
800
#005F34
oklch(42.6% 0.105 155.1)
-
Step 900
900 (this color)
#0C502D
oklch(38.2% 0.088 154.9)
-
Step 950
950
#0A2E1A
oklch(26.9% 0.055 155.2)
#0C502D 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) | #50492B | 0.078 |
| Deuteranopia (no green cones) | #48432F | 0.077 |
| Tritanopia (no blue cones) | #004F47 | 0.043 |
| Achromatopsia (no color) | #454545 | 0.088 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C502D
#0C502D
oklch(38.2% 0.088 154.9)
- #5E2F55
#5E2F55
oklch(38.1% 0.087 334.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 #0C502D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine Green #0A481E ΔE 0.030
- Evergreen #05472A ΔE 0.031
- British Racing Green #05480D ΔE 0.042
- Dark Blue Green #005249 ΔE 0.043
- Darkgreen #054907 ΔE 0.044
- Bottle Green #044A05 ΔE 0.044
- Forest #0B5509 ΔE 0.045
- Navy Green #35530A ΔE 0.048
Use #0C502D 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.