#0F562A#0F562A
#0F562A is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.099 H 151.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #0F562A |
|---|---|
| RGB | rgb(15, 86, 42) |
| HSL | hsl(143, 70%, 20%) |
| HSV | hsv(143, 83%, 34%) |
| CMYK | cmyk(82.6%, 0%, 51.2%, 66.3%) |
| CIE-LAB | lab(31.63, -32.23, 19.65) |
| CIE-LCH | lch(31.63, 37.75, 148.63°) |
| OKLab | oklab(39.98% -0.0866 0.0481) |
| OKLCH | oklch(39.98% 0.099 151) |
| XYZ | xyz(3.9424, 6.9238, 3.3187) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.60
Pine
#2B5D34
ΔE00 3.68
Pine Green
#0A481E
ΔE00 4.38
Forest Green
#2D5A27
ΔE00 4.46
Hunter Green
#355E3B
ΔE00 5.62
Deep Green
#02590F
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F562A #560F3B
analogous
#17560F #0F562A #0F564E
triadic
#0F562A #2A0F56 #562A0F
tetradic
#0F562A #0F1756 #560F3B #564E0F
square
#0F562A #0F1756 #560F3B #564E0F
split-complementary
#0F562A #4E0F56 #560F17
monochromatic
#051A0D #062211 #0F562A #188A43 #21BE5D
Accessibility & contrast
On white
8.81
#0F562A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#0F562A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F562A
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F562A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F562A | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E27
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #0f562a; /* rgb */ color: rgb(15, 86, 42); /* oklch */ color: oklch(40.0% 0.099 151.0);
Tailwind
colors: {
custom: {
50: '#5b8664',
500: '#0f562a',
950: '#000000',
},
}SCSS
$custom: #0f562a; $custom-light: #5b8664; $custom-dark: #000000;
JSON
{
"hex": "#0f562a",
"rgb": {
"r": 15,
"g": 86,
"b": 42
},
"hsl": {
"h": 142.817,
"s": 70.297,
"l": 19.804
},
"oklch": {
"l": 0.39976,
"c": 0.09908,
"h": 151
},
"luminance": 0.06924
}Semantic roles & 50–950 ramp
primary
#0F562A
secondary
#90316C
accent
#3BA9ED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A