#0F4C17#0F4C17
#0F4C17 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.103 H 144.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #0F4C17 |
|---|---|
| RGB | rgb(15, 76, 23) |
| HSL | hsl(128, 67%, 18%) |
| HSV | hsv(128, 80%, 30%) |
| CMYK | cmyk(80.3%, 0%, 69.7%, 70.2%) |
| CIE-LAB | lab(27.66, -31.31, 25.44) |
| CIE-LCH | lch(27.66, 40.34, 140.91°) |
| OKLab | oklab(36.6% -0.0846 0.0594) |
| OKLCH | oklch(36.6% 0.103 144.9) |
| XYZ | xyz(2.9359, 5.3320, 1.6849) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 1.79
Forest Green (survey)
#06470C
ΔE00 2.02
Darkgreen (survey)
#054907
ΔE00 2.52
Bottle Green
#044A05
ΔE00 2.84
Pine Green
#0A481E
ΔE00 2.87
Racing Green
#014600
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F4C17 #4C0F44
analogous
#254C0F #0F4C17 #0F4C35
triadic
#0F4C17 #170F4C #4C170F
tetradic
#0F4C17 #0F254C #4C0F44 #4C350F
square
#0F4C17 #0F254C #4C0F44 #4C350F
split-complementary
#0F4C17 #350F4C #4C0F25
monochromatic
#051A08 #051A08 #0F4C17 #197F26 #23B236
Accessibility & contrast
On white
10.16
#0F4C17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#0F4C17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F4C17
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F4C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F4C17 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4411
Deuteranopia (green-blind)
#463F1C
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #0f4c17; /* rgb */ color: rgb(15, 76, 23); /* oklch */ color: oklch(36.6% 0.103 144.9);
Tailwind
colors: {
custom: {
50: '#597f56',
500: '#0f4c17',
950: '#000000',
},
}SCSS
$custom: #0f4c17; $custom-light: #597f56; $custom-dark: #000000;
JSON
{
"hex": "#0f4c17",
"rgb": {
"r": 15,
"g": 76,
"b": 23
},
"hsl": {
"h": 127.869,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.36601,
"c": 0.10333,
"h": 144.9
},
"luminance": 0.05332
}Semantic roles & 50–950 ramp
primary
#0F4C17
secondary
#86317B
accent
#3ED3EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78