#0F4C20#0F4C20
#0F4C20 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.095 H 148.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #0F4C20 |
|---|---|
| RGB | rgb(15, 76, 32) |
| HSL | hsl(137, 67%, 18%) |
| HSV | hsv(137, 80%, 30%) |
| CMYK | cmyk(80.3%, 0%, 57.9%, 70.2%) |
| CIE-LAB | lab(27.78, -29.94, 20.65) |
| CIE-LCH | lch(27.78, 36.37, 145.41°) |
| OKLab | oklab(36.73% -0.0806 0.0497) |
| OKLCH | oklch(36.73% 0.095 148.3) |
| XYZ | xyz(3.0419, 5.3744, 2.2433) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 1.30
British Racing Green
#05480D
ΔE00 3.66
Forest Green (survey)
#06470C
ΔE00 3.82
Darkgreen (survey)
#054907
ΔE00 4.63
Evergreen
#05472A
ΔE00 4.68
Hunter Green (survey)
#0B4008
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F4C20 #4C0F3B
analogous
#1D4C0F #0F4C20 #0F4C3E
triadic
#0F4C20 #200F4C #4C200F
tetradic
#0F4C20 #0F1D4C #4C0F3B #4C3E0F
square
#0F4C20 #0F1D4C #4C0F3B #4C3E0F
split-complementary
#0F4C20 #3E0F4C #4C0F1D
monochromatic
#051A0B #051A0B #0F4C20 #197F36 #23B24B
Accessibility & contrast
On white
10.12
#0F4C20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#0F4C20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F4C20
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F4C20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F4C20 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D451C
Deuteranopia (green-blind)
#464023
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #0f4c20; /* rgb */ color: rgb(15, 76, 32); /* oklch */ color: oklch(36.7% 0.095 148.3);
Tailwind
colors: {
custom: {
50: '#587f5c',
500: '#0f4c20',
950: '#000000',
},
}SCSS
$custom: #0f4c20; $custom-light: #587f5c; $custom-dark: #000000;
JSON
{
"hex": "#0f4c20",
"rgb": {
"r": 15,
"g": 76,
"b": 32
},
"hsl": {
"h": 136.721,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.36734,
"c": 0.09469,
"h": 148.3
},
"luminance": 0.05375
}Semantic roles & 50–950 ramp
primary
#0F4C20
secondary
#86316E
accent
#3EBAEA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79