#0C4F0F#0C4F0F
#0C4F0F is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.114 H 143.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F0F |
|---|---|
| RGB | rgb(12, 79, 15) |
| HSL | hsl(123, 74%, 18%) |
| HSV | hsv(123, 85%, 31%) |
| CMYK | cmyk(84.8%, 0%, 81%, 69%) |
| CIE-LAB | lab(28.65, -33.87, 30.21) |
| CIE-LCH | lch(28.65, 45.39, 138.27°) |
| OKLab | oklab(37.39% -0.0918 0.0683) |
| OKLCH | oklch(37.39% 0.114 143.3) |
| XYZ | xyz(3.0336, 5.7043, 1.3930) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 1.75
Darkgreen (survey)
#054907
ΔE00 1.89
British Racing Green
#05480D
ΔE00 2.27
Forest
#0B5509
ΔE00 2.39
Forest Green (survey)
#06470C
ΔE00 2.53
Racing Green
#014600
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F0F #4F0C4C
analogous
#2A4F0C #0C4F0F #0C4F31
triadic
#0C4F0F #0F0C4F #4F0F0C
tetradic
#0C4F0F #0C2A4F #4F0C4C #4F310C
square
#0C4F0F #0C2A4F #4F0C4C #4F310C
split-complementary
#0C4F0F #310C4F #4F0C2A
monochromatic
#041B05 #041B05 #0C4F0F #148419 #1CB923
Accessibility & contrast
On white
9.81
#0C4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#0C4F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F0F
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F0F | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514704
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0c4f0f; /* rgb */ color: rgb(12, 79, 15); /* oklch */ color: oklch(37.4% 0.114 143.3);
Tailwind
colors: {
custom: {
50: '#598152',
500: '#0c4f0f',
950: '#000000',
},
}SCSS
$custom: #0c4f0f; $custom-light: #598152; $custom-dark: #000000;
JSON
{
"hex": "#0c4f0f",
"rgb": {
"r": 12,
"g": 79,
"b": 15
},
"hsl": {
"h": 122.687,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.37385,
"c": 0.11443,
"h": 143.3
},
"luminance": 0.05705
}Semantic roles & 50–950 ramp
primary
#0C4F0F
secondary
#8B2C86
accent
#38E8F0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78