#22520F#22520F
#22520F is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.109 H 138.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #22520F |
|---|---|
| RGB | rgb(34, 82, 15) |
| HSL | hsl(103, 69%, 19%) |
| HSV | hsv(103, 82%, 32%) |
| CMYK | cmyk(58.5%, 0%, 81.7%, 67.8%) |
| CIE-LAB | lab(30.42, -29.68, 32.19) |
| CIE-LCH | lch(30.42, 43.79, 132.67°) |
| OKLab | oklab(39.03% -0.0819 0.0723) |
| OKLCH | oklch(39.03% 0.109 138.6) |
| XYZ | xyz(3.7631, 6.4089, 1.4906) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.72
Bottle Green
#044A05
ΔE00 3.57
Darkgreen (survey)
#054907
ΔE00 3.78
Deep Green
#02590F
ΔE00 3.86
Navy Green
#35530A
ΔE00 4.10
Forest Green
#2D5A27
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22520F #3F0F52
analogous
#44520F #22520F #0F521E
triadic
#22520F #0F2252 #520F22
tetradic
#22520F #0F4452 #3F0F52 #521E0F
square
#22520F #0F4452 #3F0F52 #521E0F
split-complementary
#22520F #1E0F52 #520F44
monochromatic
#0B1A05 #0D1E06 #22520F #378618 #4DB922
Accessibility & contrast
On white
9.20
#22520F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#22520F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22520F
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22520F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22520F | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A03
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#1E4F45
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #22520f; /* rgb */ color: rgb(34, 82, 15); /* oklch */ color: oklch(39.0% 0.109 138.6);
Tailwind
colors: {
custom: {
50: '#638353',
500: '#22520f',
950: '#000000',
},
}SCSS
$custom: #22520f; $custom-light: #638353; $custom-dark: #000000;
JSON
{
"hex": "#22520f",
"rgb": {
"r": 34,
"g": 82,
"b": 15
},
"hsl": {
"h": 102.985,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.39034,
"c": 0.10922,
"h": 138.6
},
"luminance": 0.06409
}Semantic roles & 50–950 ramp
primary
#22520F
secondary
#72318C
accent
#3CECBA
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78