#0F5F22#0F5F22
#0F5F22 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.119 H 146.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F22 |
|---|---|
| RGB | rgb(15, 95, 34) |
| HSL | hsl(134, 73%, 22%) |
| HSV | hsv(134, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 64.2%, 62.7%) |
| CIE-LAB | lab(34.80, -37.07, 27.91) |
| CIE-LCH | lch(34.80, 46.40, 143.02°) |
| OKLab | oklab(42.57% -0.0997 0.0658) |
| OKLCH | oklch(42.57% 0.119 146.6) |
| XYZ | xyz(4.5776, 8.4009, 2.8933) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.11
Forest Green
#2D5A27
ΔE00 4.11
Forest
#0B5509
ΔE00 4.32
Pine
#2B5D34
ΔE00 5.05
Darkgreen
#006400
ΔE00 5.24
Spruce
#0A5F38
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F22 #5F0F4C
analogous
#245F0F #0F5F22 #0F5F4A
triadic
#0F5F22 #220F5F #5F220F
tetradic
#0F5F22 #0F245F #5F0F4C #5F4A0F
square
#0F5F22 #0F245F #5F0F4C #5F4A0F
split-complementary
#0F5F22 #4A0F5F #5F0F24
monochromatic
#041A09 #072A0F #0F5F22 #179435 #20C948
Accessibility & contrast
On white
7.84
#0F5F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#0F5F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F22
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F22 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60561C
Deuteranopia (green-blind)
#584F27
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f22; /* rgb */ color: rgb(15, 95, 34); /* oklch */ color: oklch(42.6% 0.119 146.6);
Tailwind
colors: {
custom: {
50: '#5e8d5f',
500: '#0f5f22',
950: '#000000',
},
}SCSS
$custom: #0f5f22; $custom-light: #5e8d5f; $custom-dark: #000000;
JSON
{
"hex": "#0f5f22",
"rgb": {
"r": 15,
"g": 95,
"b": 34
},
"hsl": {
"h": 134.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42568,
"c": 0.11949,
"h": 146.6
},
"luminance": 0.08401
}Semantic roles & 50–950 ramp
primary
#0F5F22
secondary
#983280
accent
#38C4EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79