#21500C#21500C
#21500C is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.109 H 138.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #21500C |
|---|---|
| RGB | rgb(33, 80, 12) |
| HSL | hsl(101, 74%, 18%) |
| HSV | hsv(101, 85%, 31%) |
| CMYK | cmyk(58.8%, 0%, 85%, 68.6%) |
| CIE-LAB | lab(29.63, -29.36, 32.56) |
| CIE-LCH | lch(29.63, 43.84, 132.04°) |
| OKLab | oklab(38.37% -0.0812 0.0725) |
| OKLCH | oklch(38.37% 0.109 138.2) |
| XYZ | xyz(3.5621, 6.0869, 1.3349) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.02
Bottle Green
#044A05
ΔE00 3.23
Darkgreen (survey)
#054907
ΔE00 3.44
Forrest Green
#154406
ΔE00 3.86
Racing Green
#014600
ΔE00 4.05
Navy Green
#35530A
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21500C #3B0C50
analogous
#43500C #21500C #0C5019
triadic
#21500C #0C2150 #500C21
tetradic
#21500C #0C4350 #3B0C50 #50190C
square
#21500C #0C4350 #3B0C50 #50190C
split-complementary
#21500C #190C50 #500C43
monochromatic
#0B1B04 #0B1B04 #21500C #378514 #4DBA1C
Accessibility & contrast
On white
9.47
#21500C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#21500C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21500C
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21500C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21500C | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#1D4D43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #21500c; /* rgb */ color: rgb(33, 80, 12); /* oklch */ color: oklch(38.4% 0.109 138.2);
Tailwind
colors: {
custom: {
50: '#638151',
500: '#21500c',
950: '#000000',
},
}SCSS
$custom: #21500c; $custom-light: #638151; $custom-dark: #000000;
JSON
{
"hex": "#21500c",
"rgb": {
"r": 33,
"g": 80,
"b": 12
},
"hsl": {
"h": 101.471,
"s": 73.913,
"l": 18.039
},
"oklch": {
"l": 0.38365,
"c": 0.10886,
"h": 138.2
},
"luminance": 0.06087
}Semantic roles & 50–950 ramp
primary
#21500C
secondary
#6E2C8B
accent
#37F1B7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78