#0F5921#0F5921
#0F5921 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.7% C 0.112 H 146.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5921 |
|---|---|
| RGB | rgb(15, 89, 33) |
| HSL | hsl(135, 71%, 20%) |
| HSV | hsv(135, 83%, 35%) |
| CMYK | cmyk(83.1%, 0%, 62.9%, 65.1%) |
| CIE-LAB | lab(32.60, -34.95, 25.87) |
| CIE-LCH | lch(32.60, 43.48, 143.49°) |
| OKLab | oklab(40.74% -0.094 0.0613) |
| OKLCH | oklch(40.74% 0.112 146.9) |
| XYZ | xyz(4.0436, 7.3556, 2.6452) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.15
Forest Green
#2D5A27
ΔE00 3.55
Forest
#0B5509
ΔE00 3.82
Pine
#2B5D34
ΔE00 4.58
Spruce
#0A5F38
ΔE00 5.26
British Racing Green
#05480D
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5921 #590F47
analogous
#22590F #0F5921 #0F5946
triadic
#0F5921 #210F59 #59210F
tetradic
#0F5921 #0F2259 #590F47 #59460F
square
#0F5921 #0F2259 #590F47 #59460F
split-complementary
#0F5921 #460F59 #590F22
monochromatic
#041A0A #06250E #0F5921 #188D34 #21C248
Accessibility & contrast
On white
8.50
#0F5921 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#0F5921 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5921
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5921 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5921 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A501B
Deuteranopia (green-blind)
#524A26
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #0f5921; /* rgb */ color: rgb(15, 89, 33); /* oklch */ color: oklch(40.7% 0.112 146.9);
Tailwind
colors: {
custom: {
50: '#5c895e',
500: '#0f5921',
950: '#000000',
},
}SCSS
$custom: #0f5921; $custom-light: #5c895e; $custom-dark: #000000;
JSON
{
"hex": "#0f5921",
"rgb": {
"r": 15,
"g": 89,
"b": 33
},
"hsl": {
"h": 134.595,
"s": 71.154,
"l": 20.392
},
"oklch": {
"l": 0.40738,
"c": 0.11226,
"h": 146.9
},
"luminance": 0.07356
}Semantic roles & 50–950 ramp
primary
#0F5921
secondary
#93317B
accent
#3AC2EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79