#225F26#225F26
#225F26 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.109 H 144.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #225F26 |
|---|---|
| RGB | rgb(34, 95, 38) |
| HSL | hsl(124, 47%, 25%) |
| HSV | hsv(124, 64%, 37%) |
| CMYK | cmyk(64.2%, 0%, 60%, 62.7%) |
| CIE-LAB | lab(35.33, -32.64, 26.54) |
| CIE-LCH | lch(35.33, 42.07, 140.88°) |
| OKLab | oklab(43.15% -0.0885 0.0631) |
| OKLCH | oklch(43.15% 0.109 144.5) |
| XYZ | xyz(5.1014, 8.6640, 3.2368) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.61
Pine
#2B5D34
ΔE00 3.89
Deep Green
#02590F
ΔE00 3.98
Forest
#0B5509
ΔE00 4.80
Spruce
#0A5F38
ΔE00 5.55
Hunter Green
#355E3B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225F26 #5F225B
analogous
#3D5F22 #225F26 #225F44
triadic
#225F26 #26225F #5F2622
tetradic
#225F26 #223D5F #5F225B #5F4422
square
#225F26 #223D5F #5F225B #5F4422
split-complementary
#225F26 #44225F #5F223D
monochromatic
#081709 #123214 #225F26 #328C38 #42B94A
Accessibility & contrast
On white
7.68
#225F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#225F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225F26
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225F26 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615620
Deuteranopia (green-blind)
#59512A
Tritanopia (blue-blind)
#165C52
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #225f26; /* rgb */ color: rgb(34, 95, 38); /* oklch */ color: oklch(43.2% 0.109 144.5);
Tailwind
colors: {
custom: {
50: '#658d62',
500: '#225f26',
950: '#000000',
},
}SCSS
$custom: #225f26; $custom-light: #658d62; $custom-dark: #000000;
JSON
{
"hex": "#225f26",
"rgb": {
"r": 34,
"g": 95,
"b": 38
},
"hsl": {
"h": 123.934,
"s": 47.287,
"l": 25.294
},
"oklch": {
"l": 0.43154,
"c": 0.10869,
"h": 144.5
},
"luminance": 0.08664
}Semantic roles & 50–950 ramp
primary
#225F26
secondary
#934A8E
accent
#51CED7
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79