#22540F#22540F
#22540F is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.112 H 138.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #22540F |
|---|---|
| RGB | rgb(34, 84, 15) |
| HSL | hsl(103, 70%, 19%) |
| HSV | hsv(103, 82%, 33%) |
| CMYK | cmyk(59.5%, 0%, 82.1%, 67.1%) |
| CIE-LAB | lab(31.15, -30.53, 32.91) |
| CIE-LCH | lch(31.15, 44.89, 132.86°) |
| OKLab | oklab(39.63% -0.0842 0.0738) |
| OKLCH | oklch(39.63% 0.112 138.8) |
| XYZ | xyz(3.9161, 6.7149, 1.5416) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.39
Deep Green
#02590F
ΔE00 3.41
Bottle Green
#044A05
ΔE00 3.94
Navy Green
#35530A
ΔE00 4.16
Forest Green
#2D5A27
ΔE00 4.20
Darkgreen (survey)
#054907
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22540F #410F54
analogous
#45540F #22540F #0F541F
triadic
#22540F #0F2254 #540F22
tetradic
#22540F #0F4554 #410F54 #541F0F
square
#22540F #0F4554 #410F54 #541F0F
split-complementary
#22540F #1F0F54 #540F45
monochromatic
#0B1A05 #0D2006 #22540F #378818 #4CBC22
Accessibility & contrast
On white
8.96
#22540F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#22540F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22540F
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22540F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22540F | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574C02
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#1D5147
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #22540f; /* rgb */ color: rgb(34, 84, 15); /* oklch */ color: oklch(39.6% 0.112 138.8);
Tailwind
colors: {
custom: {
50: '#648553',
500: '#22540f',
950: '#000000',
},
}SCSS
$custom: #22540f; $custom-light: #648553; $custom-dark: #000000;
JSON
{
"hex": "#22540f",
"rgb": {
"r": 34,
"g": 84,
"b": 15
},
"hsl": {
"h": 103.478,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.39634,
"c": 0.11194,
"h": 138.8
},
"luminance": 0.06715
}Semantic roles & 50–950 ramp
primary
#22540F
secondary
#74318E
accent
#3BEDBC
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78