#225F28#225F28
#225F28 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.107 H 145.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #225F28 |
|---|---|
| RGB | rgb(34, 95, 40) |
| HSL | hsl(126, 47%, 25%) |
| HSV | hsv(126, 64%, 37%) |
| CMYK | cmyk(64.2%, 0%, 57.9%, 62.7%) |
| CIE-LAB | lab(35.36, -32.35, 25.49) |
| CIE-LCH | lch(35.36, 41.18, 141.76°) |
| OKLab | oklab(43.18% -0.0876 0.061) |
| OKLCH | oklch(43.18% 0.107 145.2) |
| XYZ | xyz(5.1346, 8.6772, 3.4114) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.56
Pine
#2B5D34
ΔE00 3.48
Deep Green
#02590F
ΔE00 4.31
Spruce
#0A5F38
ΔE00 5.12
Forest
#0B5509
ΔE00 5.12
Hunter Green
#355E3B
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225F28 #5F2259
analogous
#3A5F22 #225F28 #225F47
triadic
#225F28 #28225F #5F2822
tetradic
#225F28 #223A5F #5F2259 #5F4722
square
#225F28 #223A5F #5F2259 #5F4722
split-complementary
#225F28 #47225F #5F223A
monochromatic
#081709 #123215 #225F28 #328C3B #42B94E
Accessibility & contrast
On white
7.68
#225F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#225F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225F28
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225F28 | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615623
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#155D53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #225f28; /* rgb */ color: rgb(34, 95, 40); /* oklch */ color: oklch(43.2% 0.107 145.2);
Tailwind
colors: {
custom: {
50: '#658d63',
500: '#225f28',
950: '#000000',
},
}SCSS
$custom: #225f28; $custom-light: #658d63; $custom-dark: #000000;
JSON
{
"hex": "#225f28",
"rgb": {
"r": 34,
"g": 95,
"b": 40
},
"hsl": {
"h": 125.902,
"s": 47.287,
"l": 25.294
},
"oklch": {
"l": 0.43184,
"c": 0.10673,
"h": 145.2
},
"luminance": 0.08678
}Semantic roles & 50–950 ramp
primary
#225F28
secondary
#934A8C
accent
#51CAD7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A