#0F4C2A#0F4C2A
#0F4C2A is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.084 H 153.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #0F4C2A |
|---|---|
| RGB | rgb(15, 76, 42) |
| HSL | hsl(147, 67%, 18%) |
| HSV | hsv(147, 80%, 30%) |
| CMYK | cmyk(80.3%, 0%, 44.7%, 70.2%) |
| CIE-LAB | lab(27.95, -27.99, 14.89) |
| CIE-LCH | lch(27.95, 31.70, 151.98°) |
| OKLab | oklab(36.93% -0.0754 0.037) |
| OKLCH | oklch(36.93% 0.084 153.9) |
| XYZ | xyz(3.1991, 5.4372, 3.0709) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 2.19
Pine Green
#0A481E
ΔE00 2.85
Spruce
#0A5F38
ΔE00 6.10
Pine
#2B5D34
ΔE00 6.13
British Racing Green
#05480D
ΔE00 6.46
Forest Green (survey)
#06470C
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F4C2A #4C0F31
analogous
#134C0F #0F4C2A #0F4C48
triadic
#0F4C2A #2A0F4C #4C2A0F
tetradic
#0F4C2A #0F134C #4C0F31 #4C480F
square
#0F4C2A #0F134C #4C0F31 #4C480F
split-complementary
#0F4C2A #480F4C #4C0F13
monochromatic
#051A0E #051A0E #0F4C2A #197F46 #23B262
Accessibility & contrast
On white
10.06
#0F4C2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#0F4C2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F4C2A
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F4C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F4C2A | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4528
Deuteranopia (green-blind)
#45402C
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #0f4c2a; /* rgb */ color: rgb(15, 76, 42); /* oklch */ color: oklch(36.9% 0.084 153.9);
Tailwind
colors: {
custom: {
50: '#587f64',
500: '#0f4c2a',
950: '#000000',
},
}SCSS
$custom: #0f4c2a; $custom-light: #587f64; $custom-dark: #000000;
JSON
{
"hex": "#0f4c2a",
"rgb": {
"r": 15,
"g": 76,
"b": 42
},
"hsl": {
"h": 146.557,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.3693,
"c": 0.08404,
"h": 153.9
},
"luminance": 0.05438
}Semantic roles & 50–950 ramp
primary
#0F4C2A
secondary
#863160
accent
#3E9EEA
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79