#0F4C15#0F4C15
#0F4C15 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.105 H 144.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #0F4C15 |
|---|---|
| RGB | rgb(15, 76, 21) |
| HSL | hsl(126, 67%, 18%) |
| HSV | hsv(126, 80%, 30%) |
| CMYK | cmyk(80.3%, 0%, 72.4%, 70.2%) |
| CIE-LAB | lab(27.64, -31.56, 26.42) |
| CIE-LCH | lch(27.64, 41.16, 140.07°) |
| OKLab | oklab(36.58% -0.0854 0.0612) |
| OKLCH | oklch(36.58% 0.105 144.4) |
| XYZ | xyz(2.9166, 5.3243, 1.5833) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 1.53
Forest Green (survey)
#06470C
ΔE00 1.78
Darkgreen (survey)
#054907
ΔE00 2.14
Bottle Green
#044A05
ΔE00 2.43
Racing Green
#014600
ΔE00 3.21
Pine Green
#0A481E
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F4C15 #4C0F46
analogous
#274C0F #0F4C15 #0F4C33
triadic
#0F4C15 #150F4C #4C150F
tetradic
#0F4C15 #0F274C #4C0F46 #4C330F
square
#0F4C15 #0F274C #4C0F46 #4C330F
split-complementary
#0F4C15 #330F4C #4C0F27
monochromatic
#051A07 #051A07 #0F4C15 #197F23 #23B231
Accessibility & contrast
On white
10.17
#0F4C15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#0F4C15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F4C15
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F4C15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F4C15 | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E440E
Deuteranopia (green-blind)
#473F1A
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #0f4c15; /* rgb */ color: rgb(15, 76, 21); /* oklch */ color: oklch(36.6% 0.105 144.4);
Tailwind
colors: {
custom: {
50: '#597f55',
500: '#0f4c15',
950: '#000000',
},
}SCSS
$custom: #0f4c15; $custom-light: #597f55; $custom-dark: #000000;
JSON
{
"hex": "#0f4c15",
"rgb": {
"r": 15,
"g": 76,
"b": 21
},
"hsl": {
"h": 125.902,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.36577,
"c": 0.10504,
"h": 144.4
},
"luminance": 0.05325
}Semantic roles & 50–950 ramp
primary
#0F4C15
secondary
#86317E
accent
#3ED9EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78