#0F5C22#0F5C22
#0F5C22 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.115 H 146.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C22 |
|---|---|
| RGB | rgb(15, 92, 34) |
| HSL | hsl(135, 72%, 21%) |
| HSV | hsv(135, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 63%, 63.9%) |
| CIE-LAB | lab(33.71, -35.94, 26.64) |
| CIE-LCH | lch(33.71, 44.74, 143.45°) |
| OKLab | oklab(41.66% -0.0967 0.0631) |
| OKLCH | oklch(41.66% 0.115 146.9) |
| XYZ | xyz(4.3126, 7.8708, 2.8050) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.05
Forest Green
#2D5A27
ΔE00 3.69
Forest
#0B5509
ΔE00 4.03
Pine
#2B5D34
ΔE00 4.64
Spruce
#0A5F38
ΔE00 5.23
Darkgreen
#006400
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C22 #5C0F49
analogous
#225C0F #0F5C22 #0F5C48
triadic
#0F5C22 #220F5C #5C220F
tetradic
#0F5C22 #0F225C #5C0F49 #5C480F
square
#0F5C22 #0F225C #5C0F49 #5C480F
split-complementary
#0F5C22 #480F5C #5C0F22
monochromatic
#041A0A #06270F #0F5C22 #189135 #20C549
Accessibility & contrast
On white
8.16
#0F5C22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#0F5C22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C22
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C22 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D531C
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0f5c22; /* rgb */ color: rgb(15, 92, 34); /* oklch */ color: oklch(41.7% 0.115 146.9);
Tailwind
colors: {
custom: {
50: '#5d8b5f',
500: '#0f5c22',
950: '#000000',
},
}SCSS
$custom: #0f5c22; $custom-light: #5d8b5f; $custom-dark: #000000;
JSON
{
"hex": "#0f5c22",
"rgb": {
"r": 15,
"g": 92,
"b": 34
},
"hsl": {
"h": 134.805,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41662,
"c": 0.11544,
"h": 146.9
},
"luminance": 0.07871
}Semantic roles & 50–950 ramp
primary
#0F5C22
secondary
#95317D
accent
#39C2EF
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79