#225E1F#225E1F
#225E1F is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.114 H 142.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #225E1F |
|---|---|
| RGB | rgb(34, 94, 31) |
| HSL | hsl(117, 50%, 25%) |
| HSV | hsv(117, 67%, 37%) |
| CMYK | cmyk(63.8%, 0%, 67%, 63.1%) |
| CIE-LAB | lab(34.89, -33.15, 29.66) |
| CIE-LCH | lch(34.89, 44.48, 138.18°) |
| OKLab | oklab(42.77% -0.0902 0.0692) |
| OKLCH | oklch(42.77% 0.114 142.5) |
| XYZ | xyz(4.9095, 8.4440, 2.6672) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.95
Deep Green
#02590F
ΔE00 3.07
Forest
#0B5509
ΔE00 3.78
Darkgreen
#006400
ΔE00 4.92
Pine
#2B5D34
ΔE00 5.09
Bottle Green
#044A05
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225E1F #5B1F5E
analogous
#425E1F #225E1F #1F5E3C
triadic
#225E1F #1F225E #5E1F22
tetradic
#225E1F #1F425E #5B1F5E #5E3C1F
square
#225E1F #1F425E #5B1F5E #5E3C1F
split-complementary
#225E1F #3C1F5E #5E1F42
monochromatic
#081708 #113010 #225E1F #338C2E #43BA3D
Accessibility & contrast
On white
7.81
#225E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#225E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225E1F
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225E1F | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#595024
Tritanopia (blue-blind)
#185B51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #225e1f; /* rgb */ color: rgb(34, 94, 31); /* oklch */ color: oklch(42.8% 0.114 142.5);
Tailwind
colors: {
custom: {
50: '#658c5d',
500: '#225e1f',
950: '#000000',
},
}SCSS
$custom: #225e1f; $custom-light: #658c5d; $custom-dark: #000000;
JSON
{
"hex": "#225e1f",
"rgb": {
"r": 34,
"g": 94,
"b": 31
},
"hsl": {
"h": 117.143,
"s": 50.4,
"l": 24.51
},
"oklch": {
"l": 0.42766,
"c": 0.11367,
"h": 142.5
},
"luminance": 0.08444
}Semantic roles & 50–950 ramp
primary
#225E1F
secondary
#8F4693
accent
#4EDAD3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79