#0C4F19#0C4F19
#0C4F19 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.107 H 145.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F19 |
|---|---|
| RGB | rgb(12, 79, 25) |
| HSL | hsl(132, 74%, 18%) |
| HSV | hsv(132, 85%, 31%) |
| CMYK | cmyk(84.8%, 0%, 68.4%, 69%) |
| CIE-LAB | lab(28.75, -32.73, 25.61) |
| CIE-LCH | lch(28.75, 41.56, 141.96°) |
| OKLab | oklab(37.49% -0.0882 0.06) |
| OKLCH | oklch(37.49% 0.107 145.8) |
| XYZ | xyz(3.1228, 5.7399, 1.8629) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 2.49
Forest Green (survey)
#06470C
ΔE00 2.78
Darkgreen (survey)
#054907
ΔE00 2.98
Bottle Green
#044A05
ΔE00 3.16
Pine Green
#0A481E
ΔE00 3.34
Forest
#0B5509
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F19 #4F0C42
analogous
#204F0C #0C4F19 #0C4F3A
triadic
#0C4F19 #190C4F #4F190C
tetradic
#0C4F19 #0C204F #4F0C42 #4F3A0C
square
#0C4F19 #0C204F #4F0C42 #4F3A0C
split-complementary
#0C4F19 #3A0C4F #4F0C20
monochromatic
#041B08 #041B08 #0C4F19 #14842A #1CB93B
Accessibility & contrast
On white
9.78
#0C4F19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#0C4F19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F19
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F19 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504713
Deuteranopia (green-blind)
#49421E
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0c4f19; /* rgb */ color: rgb(12, 79, 25); /* oklch */ color: oklch(37.5% 0.107 145.8);
Tailwind
colors: {
custom: {
50: '#598158',
500: '#0c4f19',
950: '#000000',
},
}SCSS
$custom: #0c4f19; $custom-light: #598158; $custom-dark: #000000;
JSON
{
"hex": "#0c4f19",
"rgb": {
"r": 12,
"g": 79,
"b": 25
},
"hsl": {
"h": 131.642,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.37492,
"c": 0.10665,
"h": 145.8
},
"luminance": 0.0574
}Semantic roles & 50–950 ramp
primary
#0C4F19
secondary
#8B2C78
accent
#38CCF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78