#22510C#22510C
#22510C is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.110 H 138.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #22510C |
|---|---|
| RGB | rgb(34, 81, 12) |
| HSL | hsl(101, 74%, 18%) |
| HSV | hsv(101, 85%, 32%) |
| CMYK | cmyk(58%, 0%, 85.2%, 68.2%) |
| CIE-LAB | lab(30.04, -29.47, 32.96) |
| CIE-LCH | lch(30.04, 44.21, 131.80°) |
| OKLab | oklab(38.71% -0.0815 0.0734) |
| OKLCH | oklch(38.71% 0.11 138) |
| XYZ | xyz(3.6683, 6.2512, 1.3611) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.92
Bottle Green
#044A05
ΔE00 3.50
Darkgreen (survey)
#054907
ΔE00 3.73
Navy Green
#35530A
ΔE00 3.88
Deep Green
#02590F
ΔE00 4.16
Forrest Green
#154406
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22510C #3B0C51
analogous
#44510C #22510C #0C5118
triadic
#22510C #0C2251 #510C22
tetradic
#22510C #0C4451 #3B0C51 #51180C
square
#22510C #0C4451 #3B0C51 #51180C
split-complementary
#22510C #180C51 #510C44
monochromatic
#0B1B04 #0C1C04 #22510C #388614 #4FBC1C
Accessibility & contrast
On white
9.33
#22510C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#22510C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22510C
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22510C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22510C | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#1E4E44
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #22510c; /* rgb */ color: rgb(34, 81, 12); /* oklch */ color: oklch(38.7% 0.110 138.0);
Tailwind
colors: {
custom: {
50: '#638251',
500: '#22510c',
950: '#000000',
},
}SCSS
$custom: #22510c; $custom-light: #638251; $custom-dark: #000000;
JSON
{
"hex": "#22510c",
"rgb": {
"r": 34,
"g": 81,
"b": 12
},
"hsl": {
"h": 100.87,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38712,
"c": 0.10968,
"h": 138
},
"luminance": 0.06251
}Semantic roles & 50–950 ramp
primary
#22510C
secondary
#6E2C8C
accent
#37F1B6
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78