#21580F#21580F
#21580F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.118 H 139.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #21580F |
|---|---|
| RGB | rgb(33, 88, 15) |
| HSL | hsl(105, 71%, 20%) |
| HSV | hsv(105, 83%, 35%) |
| CMYK | cmyk(62.5%, 0%, 83%, 65.5%) |
| CIE-LAB | lab(32.56, -32.51, 34.27) |
| CIE-LCH | lch(32.56, 47.23, 133.49°) |
| OKLab | oklab(40.79% -0.0894 0.0766) |
| OKLCH | oklch(40.79% 0.118 139.4) |
| XYZ | xyz(4.2030, 7.3369, 1.6465) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.16
Deep Green
#02590F
ΔE00 2.69
Forest Green
#2D5A27
ΔE00 4.25
Navy Green
#35530A
ΔE00 4.69
Bottle Green
#044A05
ΔE00 4.85
Darkgreen
#006400
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21580F #460F58
analogous
#46580F #21580F #0F5821
triadic
#21580F #0F2158 #580F21
tetradic
#21580F #0F4658 #460F58 #58210F
square
#21580F #0F4658 #460F58 #58210F
split-complementary
#21580F #210F58 #580F46
monochromatic
#0A1A04 #0D2406 #21580F #358C18 #48C121
Accessibility & contrast
On white
8.51
#21580F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#21580F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21580F
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21580F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21580F | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B4F01
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#1B554A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #21580f; /* rgb */ color: rgb(33, 88, 15); /* oklch */ color: oklch(40.8% 0.118 139.4);
Tailwind
colors: {
custom: {
50: '#648854',
500: '#21580f',
950: '#000000',
},
}SCSS
$custom: #21580f; $custom-light: #648854; $custom-dark: #000000;
JSON
{
"hex": "#21580f",
"rgb": {
"r": 33,
"g": 88,
"b": 15
},
"hsl": {
"h": 105.205,
"s": 70.874,
"l": 20.196
},
"oklch": {
"l": 0.4079,
"c": 0.11777,
"h": 139.4
},
"luminance": 0.07337
}Semantic roles & 50–950 ramp
primary
#21580F
secondary
#7A3192
accent
#3AEEC1
background
#F6F8F5
surface
#EBF0E8
border
#C6CBC4
text
#060B03
muted
#7A7C78