#225A23#225A23
#225A23 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.104 H 143.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #225A23 |
|---|---|
| RGB | rgb(34, 90, 35) |
| HSL | hsl(121, 45%, 24%) |
| HSV | hsv(121, 62%, 35%) |
| CMYK | cmyk(62.2%, 0%, 61.1%, 64.7%) |
| CIE-LAB | lab(33.51, -30.93, 26.00) |
| CIE-LCH | lch(33.51, 40.40, 139.95°) |
| OKLab | oklab(41.64% -0.084 0.0617) |
| OKLCH | oklch(41.64% 0.104 143.7) |
| XYZ | xyz(4.6190, 7.7733, 2.8468) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.74
Deep Green
#02590F
ΔE00 3.74
Pine
#2B5D34
ΔE00 3.79
Forest
#0B5509
ΔE00 4.10
Hunter Green
#355E3B
ΔE00 5.79
Spruce
#0A5F38
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225A23 #5A2259
analogous
#3D5A22 #225A23 #225A3F
triadic
#225A23 #23225A #5A2322
tetradic
#225A23 #223D5A #5A2259 #5A3F22
square
#225A23 #223D5A #5A2259 #5A3F22
split-complementary
#225A23 #3F225A #5A223D
monochromatic
#081609 #112E12 #225A23 #338634 #44B346
Accessibility & contrast
On white
8.22
#225A23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#225A23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225A23
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225A23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225A23 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C521E
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#18574E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #225a23; /* rgb */ color: rgb(34, 90, 35); /* oklch */ color: oklch(41.6% 0.104 143.7);
Tailwind
colors: {
custom: {
50: '#648960',
500: '#225a23',
950: '#000000',
},
}SCSS
$custom: #225a23; $custom-light: #648960; $custom-dark: #000000;
JSON
{
"hex": "#225a23",
"rgb": {
"r": 34,
"g": 90,
"b": 35
},
"hsl": {
"h": 121.071,
"s": 45.161,
"l": 24.314
},
"oklch": {
"l": 0.4164,
"c": 0.10419,
"h": 143.7
},
"luminance": 0.07774
}Semantic roles & 50–950 ramp
primary
#225A23
secondary
#8E4A8D
accent
#53D3D5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B05
muted
#7A7C79