#0F5E22#0F5E22
#0F5E22 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.118 H 146.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5E22 |
|---|---|
| RGB | rgb(15, 94, 34) |
| HSL | hsl(134, 72%, 21%) |
| HSV | hsv(134, 84%, 37%) |
| CMYK | cmyk(84%, 0%, 63.8%, 63.1%) |
| CIE-LAB | lab(34.44, -36.70, 27.49) |
| CIE-LCH | lch(34.44, 45.85, 143.16°) |
| OKLab | oklab(42.27% -0.0987 0.0649) |
| OKLCH | oklch(42.27% 0.118 146.7) |
| XYZ | xyz(4.4881, 8.2219, 2.8635) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.04
Forest Green
#2D5A27
ΔE00 3.94
Forest
#0B5509
ΔE00 4.19
Pine
#2B5D34
ΔE00 4.90
Spruce
#0A5F38
ΔE00 5.45
Darkgreen
#006400
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5E22 #5E0F4B
analogous
#245E0F #0F5E22 #0F5E4A
triadic
#0F5E22 #220F5E #5E220F
tetradic
#0F5E22 #0F245E #5E0F4B #5E4A0F
square
#0F5E22 #0F245E #5E0F4B #5E4A0F
split-complementary
#0F5E22 #4A0F5E #5E0F24
monochromatic
#041A0A #07290F #0F5E22 #179335 #20C848
Accessibility & contrast
On white
7.94
#0F5E22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#0F5E22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5E22
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5E22 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F551C
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5e22; /* rgb */ color: rgb(15, 94, 34); /* oklch */ color: oklch(42.3% 0.118 146.7);
Tailwind
colors: {
custom: {
50: '#5d8d5f',
500: '#0f5e22',
950: '#000000',
},
}SCSS
$custom: #0f5e22; $custom-light: #5d8d5f; $custom-dark: #000000;
JSON
{
"hex": "#0f5e22",
"rgb": {
"r": 15,
"g": 94,
"b": 34
},
"hsl": {
"h": 134.43,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.42266,
"c": 0.11815,
"h": 146.7
},
"luminance": 0.08222
}Semantic roles & 50–950 ramp
primary
#0F5E22
secondary
#97317F
accent
#39C3EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79