#225F23#225F23
#225F23 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.112 H 143.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #225F23 |
|---|---|
| RGB | rgb(34, 95, 35) |
| HSL | hsl(121, 47%, 25%) |
| HSV | hsv(121, 64%, 37%) |
| CMYK | cmyk(64.2%, 0%, 63.2%, 62.7%) |
| CIE-LAB | lab(35.29, -33.06, 28.08) |
| CIE-LCH | lch(35.29, 43.37, 139.65°) |
| OKLab | oklab(43.11% -0.0897 0.0662) |
| OKLCH | oklch(43.11% 0.112 143.6) |
| XYZ | xyz(5.0550, 8.6454, 2.9921) |
| Luminance | 0.0865 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.80
Deep Green
#02590F
ΔE00 3.56
Forest
#0B5509
ΔE00 4.38
Pine
#2B5D34
ΔE00 4.49
Darkgreen
#006400
ΔE00 5.36
Spruce
#0A5F38
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225F23 #5F225E
analogous
#3F5F22 #225F23 #225F42
triadic
#225F23 #23225F #5F2322
tetradic
#225F23 #223F5F #5F225E #5F4222
square
#225F23 #223F5F #5F225E #5F4222
split-complementary
#225F23 #42225F #5F223F
monochromatic
#081708 #123212 #225F23 #328C34 #42B944
Accessibility & contrast
On white
7.69
#225F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#225F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225F23
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225F23 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61561D
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#175C52
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #225f23; /* rgb */ color: rgb(34, 95, 35); /* oklch */ color: oklch(43.1% 0.112 143.6);
Tailwind
colors: {
custom: {
50: '#658d60',
500: '#225f23',
950: '#000000',
},
}SCSS
$custom: #225f23; $custom-light: #658d60; $custom-dark: #000000;
JSON
{
"hex": "#225f23",
"rgb": {
"r": 34,
"g": 95,
"b": 35
},
"hsl": {
"h": 120.984,
"s": 47.287,
"l": 25.294
},
"oklch": {
"l": 0.43112,
"c": 0.11151,
"h": 143.6
},
"luminance": 0.08646
}Semantic roles & 50–950 ramp
primary
#225F23
secondary
#934A92
accent
#51D5D7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79