#0C4F25#0C4F25
#0C4F25 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.095 H 150.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F25 |
|---|---|
| RGB | rgb(12, 79, 37) |
| HSL | hsl(142, 74%, 18%) |
| HSV | hsv(142, 85%, 31%) |
| CMYK | cmyk(84.8%, 0%, 53.2%, 69%) |
| CIE-LAB | lab(28.91, -30.78, 19.13) |
| CIE-LCH | lch(28.91, 36.24, 148.13°) |
| OKLab | oklab(37.68% -0.0827 0.0466) |
| OKLCH | oklch(37.68% 0.095 150.6) |
| XYZ | xyz(3.2812, 5.8033, 2.6971) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 2.22
Evergreen
#05472A
ΔE00 4.36
British Racing Green
#05480D
ΔE00 4.76
Forest Green (survey)
#06470C
ΔE00 4.96
Pine
#2B5D34
ΔE00 5.26
Spruce
#0A5F38
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F25 #4F0C36
analogous
#154F0C #0C4F25 #0C4F46
triadic
#0C4F25 #250C4F #4F250C
tetradic
#0C4F25 #0C154F #4F0C36 #4F460C
square
#0C4F25 #0C154F #4F0C36 #4F460C
split-complementary
#0C4F25 #460C4F #4F0C15
monochromatic
#041B0C #041B0C #0C4F25 #14843E #1CB957
Accessibility & contrast
On white
9.72
#0C4F25 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#0C4F25 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F25
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F25 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4722
Deuteranopia (green-blind)
#484228
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0c4f25; /* rgb */ color: rgb(12, 79, 37); /* oklch */ color: oklch(37.7% 0.095 150.6);
Tailwind
colors: {
custom: {
50: '#588160',
500: '#0c4f25',
950: '#000000',
},
}SCSS
$custom: #0c4f25; $custom-light: #588160; $custom-dark: #000000;
JSON
{
"hex": "#0c4f25",
"rgb": {
"r": 12,
"g": 79,
"b": 37
},
"hsl": {
"h": 142.388,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.37681,
"c": 0.09491,
"h": 150.6
},
"luminance": 0.05804
}Semantic roles & 50–950 ramp
primary
#0C4F25
secondary
#8B2C67
accent
#38ABF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79