#225C2A#225C2A
#225C2A is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.100 H 146.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #225C2A |
|---|---|
| RGB | rgb(34, 92, 42) |
| HSL | hsl(128, 46%, 25%) |
| HSV | hsv(128, 63%, 36%) |
| CMYK | cmyk(63%, 0%, 54.3%, 63.9%) |
| CIE-LAB | lab(34.32, -30.73, 23.12) |
| CIE-LCH | lch(34.32, 38.46, 143.05°) |
| OKLab | oklab(42.34% -0.0832 0.0559) |
| OKLCH | oklch(42.34% 0.1 146.1) |
| XYZ | xyz(4.9044, 8.1611, 3.5068) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.14
Pine
#2B5D34
ΔE00 2.50
Spruce
#0A5F38
ΔE00 4.42
Hunter Green
#355E3B
ΔE00 4.68
Deep Green
#02590F
ΔE00 4.87
Forest
#0B5509
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225C2A #5C2254
analogous
#375C22 #225C2A #225C47
triadic
#225C2A #2A225C #5C2A22
tetradic
#225C2A #22375C #5C2254 #5C4722
square
#225C2A #22375C #5C2254 #5C4722
split-complementary
#225C2A #47225C #5C2237
monochromatic
#08160A #112F16 #225C2A #33893E #43B553
Accessibility & contrast
On white
7.98
#225C2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#225C2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225C2A
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225C2A | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5426
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#155A50
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #225c2a; /* rgb */ color: rgb(34, 92, 42); /* oklch */ color: oklch(42.3% 0.100 146.1);
Tailwind
colors: {
custom: {
50: '#648b65',
500: '#225c2a',
950: '#000000',
},
}SCSS
$custom: #225c2a; $custom-light: #648b65; $custom-dark: #000000;
JSON
{
"hex": "#225c2a",
"rgb": {
"r": 34,
"g": 92,
"b": 42
},
"hsl": {
"h": 128.276,
"s": 46.032,
"l": 24.706
},
"oklch": {
"l": 0.42337,
"c": 0.1002,
"h": 146.1
},
"luminance": 0.08162
}Semantic roles & 50–950 ramp
primary
#225C2A
secondary
#904A86
accent
#52C4D6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A