#0F5A22#0F5A22
#0F5A22 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.113 H 147.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A22 |
|---|---|
| RGB | rgb(15, 90, 34) |
| HSL | hsl(135, 71%, 21%) |
| HSV | hsv(135, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 62.2%, 64.7%) |
| CIE-LAB | lab(32.98, -35.18, 25.79) |
| CIE-LCH | lch(32.98, 43.62, 143.76°) |
| OKLab | oklab(41.06% -0.0946 0.0612) |
| OKLCH | oklch(41.06% 0.113 147.1) |
| XYZ | xyz(4.1416, 7.5289, 2.7480) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.23
Forest Green
#2D5A27
ΔE00 3.56
Forest
#0B5509
ΔE00 4.00
Pine
#2B5D34
ΔE00 4.47
Spruce
#0A5F38
ΔE00 5.09
British Racing Green
#05480D
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A22 #5A0F47
analogous
#215A0F #0F5A22 #0F5A47
triadic
#0F5A22 #220F5A #5A220F
tetradic
#0F5A22 #0F215A #5A0F47 #5A470F
square
#0F5A22 #0F215A #5A0F47 #5A470F
split-complementary
#0F5A22 #470F5A #5A0F21
monochromatic
#041A0A #06260E #0F5A22 #188E36 #20C34A
Accessibility & contrast
On white
8.38
#0F5A22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#0F5A22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A22
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A22 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B511C
Deuteranopia (green-blind)
#534B26
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5a22; /* rgb */ color: rgb(15, 90, 34); /* oklch */ color: oklch(41.1% 0.113 147.1);
Tailwind
colors: {
custom: {
50: '#5c895f',
500: '#0f5a22',
950: '#000000',
},
}SCSS
$custom: #0f5a22; $custom-light: #5c895f; $custom-dark: #000000;
JSON
{
"hex": "#0f5a22",
"rgb": {
"r": 15,
"g": 90,
"b": 34
},
"hsl": {
"h": 135.2,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.41056,
"c": 0.1127,
"h": 147.1
},
"luminance": 0.07529
}Semantic roles & 50–950 ramp
primary
#0F5A22
secondary
#94317B
accent
#3AC0EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79