#22631F#22631F
#22631F is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.2% C 0.121 H 142.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #22631F |
|---|---|
| RGB | rgb(34, 99, 31) |
| HSL | hsl(117, 52%, 25%) |
| HSV | hsv(117, 69%, 39%) |
| CMYK | cmyk(65.7%, 0%, 68.7%, 61.2%) |
| CIE-LAB | lab(36.67, -35.19, 31.64) |
| CIE-LCH | lch(36.67, 47.33, 138.04°) |
| OKLab | oklab(44.24% -0.0958 0.0734) |
| OKLCH | oklch(44.24% 0.121 142.5) |
| XYZ | xyz(5.3686, 9.3622, 2.8202) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.85
Darkgreen
#006400
ΔE00 3.91
Forest Green
#2D5A27
ΔE00 4.37
Forest
#0B5509
ΔE00 4.84
Pine
#2B5D34
ΔE00 6.06
Spruce
#0A5F38
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22631F #601F63
analogous
#44631F #22631F #1F633E
triadic
#22631F #1F2263 #631F22
tetradic
#22631F #1F4463 #601F63 #633E1F
square
#22631F #1F4463 #601F63 #633E1F
split-complementary
#22631F #3E1F63 #631F44
monochromatic
#081707 #123410 #22631F #32922E #42C03C
Accessibility & contrast
On white
7.31
#22631F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#22631F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22631F
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22631F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22631F | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655A17
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#166055
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #22631f; /* rgb */ color: rgb(34, 99, 31); /* oklch */ color: oklch(44.2% 0.121 142.5);
Tailwind
colors: {
custom: {
50: '#66905e',
500: '#22631f',
950: '#000000',
},
}SCSS
$custom: #22631f; $custom-light: #66905e; $custom-dark: #000000;
JSON
{
"hex": "#22631f",
"rgb": {
"r": 34,
"g": 99,
"b": 31
},
"hsl": {
"h": 117.353,
"s": 52.308,
"l": 25.49
},
"oklch": {
"l": 0.44237,
"c": 0.12064,
"h": 142.5
},
"luminance": 0.09363
}Semantic roles & 50–950 ramp
primary
#22631F
secondary
#944698
accent
#4CDCD5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79