#0F4F2A#0F4F2A
#0F4F2A is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.089 H 152.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #0F4F2A |
|---|---|
| RGB | rgb(15, 79, 42) |
| HSL | hsl(145, 68%, 18%) |
| HSV | hsv(145, 81%, 31%) |
| CMYK | cmyk(81%, 0%, 46.8%, 69%) |
| CIE-LAB | lab(29.06, -29.29, 16.34) |
| CIE-LCH | lch(29.06, 33.55, 150.84°) |
| OKLab | oklab(37.85% -0.0789 0.0404) |
| OKLCH | oklch(37.85% 0.089 152.9) |
| XYZ | xyz(3.4106, 5.8603, 3.1414) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 2.84
Evergreen
#05472A
ΔE00 3.32
Spruce
#0A5F38
ΔE00 5.18
Pine
#2B5D34
ΔE00 5.22
British Racing Green
#05480D
ΔE00 6.03
Forest Green
#2D5A27
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F4F2A #4F0F34
analogous
#144F0F #0F4F2A #0F4F4A
triadic
#0F4F2A #2A0F4F #4F2A0F
tetradic
#0F4F2A #0F144F #4F0F34 #4F4A0F
square
#0F4F2A #0F144F #4F0F34 #4F4A0F
split-complementary
#0F4F2A #4A0F4F #4F0F14
monochromatic
#051A0E #051C0F #0F4F2A #198245 #23B661
Accessibility & contrast
On white
9.67
#0F4F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#0F4F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F4F2A
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F4F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F4F2A | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#47422D
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0f4f2a; /* rgb */ color: rgb(15, 79, 42); /* oklch */ color: oklch(37.8% 0.089 152.9);
Tailwind
colors: {
custom: {
50: '#598164',
500: '#0f4f2a',
950: '#000000',
},
}SCSS
$custom: #0f4f2a; $custom-light: #598164; $custom-dark: #000000;
JSON
{
"hex": "#0f4f2a",
"rgb": {
"r": 15,
"g": 79,
"b": 42
},
"hsl": {
"h": 145.313,
"s": 68.085,
"l": 18.431
},
"oklch": {
"l": 0.37848,
"c": 0.08863,
"h": 152.9
},
"luminance": 0.05861
}Semantic roles & 50–950 ramp
primary
#0F4F2A
secondary
#893164
accent
#3DA1EB
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79