#0C4F0D#0C4F0D
#0C4F0D is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.116 H 143.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F0D |
|---|---|
| RGB | rgb(12, 79, 13) |
| HSL | hsl(121, 74%, 18%) |
| HSV | hsv(121, 85%, 31%) |
| CMYK | cmyk(84.8%, 0%, 83.5%, 69%) |
| CIE-LAB | lab(28.64, -34.04, 31.00) |
| CIE-LCH | lch(28.64, 46.05, 137.68°) |
| OKLab | oklab(37.37% -0.0924 0.0697) |
| OKLCH | oklch(37.37% 0.116 143) |
| XYZ | xyz(3.0201, 5.6988, 1.3215) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 1.63
Darkgreen (survey)
#054907
ΔE00 1.85
Forest
#0B5509
ΔE00 2.21
British Racing Green
#05480D
ΔE00 2.39
Forest Green (survey)
#06470C
ΔE00 2.63
Racing Green
#014600
ΔE00 2.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F0D #4F0C4E
analogous
#2C4F0C #0C4F0D #0C4F2F
triadic
#0C4F0D #0D0C4F #4F0D0C
tetradic
#0C4F0D #0C2C4F #4F0C4E #4F2F0C
square
#0C4F0D #0C2C4F #4F0C4E #4F2F0C
split-complementary
#0C4F0D #2F0C4F #4F0C2C
monochromatic
#041B04 #041B04 #0C4F0D #148416 #1CB91E
Accessibility & contrast
On white
9.81
#0C4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#0C4F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F0D
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F0D | 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)
#514702
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0c4f0d; /* rgb */ color: rgb(12, 79, 13); /* oklch */ color: oklch(37.4% 0.116 143.0);
Tailwind
colors: {
custom: {
50: '#598151',
500: '#0c4f0d',
950: '#000000',
},
}SCSS
$custom: #0c4f0d; $custom-light: #598151; $custom-dark: #000000;
JSON
{
"hex": "#0c4f0d",
"rgb": {
"r": 12,
"g": 79,
"b": 13
},
"hsl": {
"h": 120.896,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.37368,
"c": 0.1157,
"h": 143
},
"luminance": 0.05699
}Semantic roles & 50–950 ramp
primary
#0C4F0D
secondary
#8B2C89
accent
#38EEF0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78