#0C4F26#0C4F26
#0C4F26 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.094 H 151.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F26 |
|---|---|
| RGB | rgb(12, 79, 38) |
| HSL | hsl(143, 74%, 18%) |
| HSV | hsv(143, 85%, 31%) |
| CMYK | cmyk(84.8%, 0%, 51.9%, 69%) |
| CIE-LAB | lab(28.93, -30.58, 18.56) |
| CIE-LCH | lch(28.93, 35.77, 148.75°) |
| OKLab | oklab(37.7% -0.0822 0.0454) |
| OKLCH | oklch(37.7% 0.094 151.1) |
| XYZ | xyz(3.2972, 5.8097, 2.7810) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 2.29
Evergreen
#05472A
ΔE00 4.14
British Racing Green
#05480D
ΔE00 5.01
Forest Green (survey)
#06470C
ΔE00 5.21
Pine
#2B5D34
ΔE00 5.25
Spruce
#0A5F38
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F26 #4F0C35
analogous
#134F0C #0C4F26 #0C4F47
triadic
#0C4F26 #260C4F #4F260C
tetradic
#0C4F26 #0C134F #4F0C35 #4F470C
square
#0C4F26 #0C134F #4F0C35 #4F470C
split-complementary
#0C4F26 #470C4F #4F0C13
monochromatic
#041B0D #041B0D #0C4F26 #148440 #1CB959
Accessibility & contrast
On white
9.71
#0C4F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#0C4F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F26
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F26 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4723
Deuteranopia (green-blind)
#484229
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0c4f26; /* rgb */ color: rgb(12, 79, 38); /* oklch */ color: oklch(37.7% 0.094 151.1);
Tailwind
colors: {
custom: {
50: '#588161',
500: '#0c4f26',
950: '#000000',
},
}SCSS
$custom: #0c4f26; $custom-light: #588161; $custom-dark: #000000;
JSON
{
"hex": "#0c4f26",
"rgb": {
"r": 12,
"g": 79,
"b": 38
},
"hsl": {
"h": 143.284,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.377,
"c": 0.09387,
"h": 151.1
},
"luminance": 0.0581
}Semantic roles & 50–950 ramp
primary
#0C4F26
secondary
#8B2C66
accent
#38A9F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79