#22512E#22512E
#22512E is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.2% C 0.078 H 149.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #22512E |
|---|---|
| RGB | rgb(34, 81, 46) |
| HSL | hsl(135, 41%, 23%) |
| HSV | hsv(135, 58%, 32%) |
| CMYK | cmyk(58%, 0%, 43.2%, 68.2%) |
| CIE-LAB | lab(30.45, -24.94, 15.85) |
| CIE-LCH | lch(30.45, 29.55, 147.56°) |
| OKLab | oklab(39.19% -0.0676 0.0394) |
| OKLCH | oklch(39.19% 0.078 149.8) |
| XYZ | xyz(4.0950, 6.4219, 3.6080) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.06
Pine Green
#0A481E
ΔE00 4.10
Evergreen
#05472A
ΔE00 4.43
Hunter Green
#355E3B
ΔE00 4.70
Forest Green
#2D5A27
ΔE00 5.17
Spruce
#0A5F38
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22512E #512245
analogous
#2D5122 #22512E #225145
triadic
#22512E #2E2251 #512E22
tetradic
#22512E #222D51 #512245 #514522
square
#22512E #222D51 #512245 #514522
split-complementary
#22512E #452251 #51222D
monochromatic
#09160C #102616 #22512E #347C46 #46A75F
Accessibility & contrast
On white
9.19
#22512E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#22512E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22512E
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22512E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22512E | 1.00 | 9.19 | 2.28 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524A2C
Deuteranopia (green-blind)
#4B4630
Tritanopia (blue-blind)
#185048
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #22512e; /* rgb */ color: rgb(34, 81, 46); /* oklch */ color: oklch(39.2% 0.078 149.8);
Tailwind
colors: {
custom: {
50: '#618267',
500: '#22512e',
950: '#000000',
},
}SCSS
$custom: #22512e; $custom-light: #618267; $custom-dark: #000000;
JSON
{
"hex": "#22512e",
"rgb": {
"r": 34,
"g": 81,
"b": 46
},
"hsl": {
"h": 135.319,
"s": 40.87,
"l": 22.549
},
"oklch": {
"l": 0.39187,
"c": 0.07827,
"h": 149.8
},
"luminance": 0.06422
}Semantic roles & 50–950 ramp
primary
#22512E
secondary
#854A76
accent
#57B2D1
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A