#225F12#225F12
#225F12 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.125 H 140.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #225F12 |
|---|---|
| RGB | rgb(34, 95, 18) |
| HSL | hsl(108, 68%, 22%) |
| HSV | hsv(108, 81%, 37%) |
| CMYK | cmyk(64.2%, 0%, 81.1%, 62.7%) |
| CIE-LAB | lab(35.14, -34.83, 35.67) |
| CIE-LCH | lch(35.14, 49.85, 134.32°) |
| OKLab | oklab(42.94% -0.0956 0.08) |
| OKLCH | oklch(42.94% 0.125 140.1) |
| XYZ | xyz(4.8609, 8.5677, 1.9697) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.13
Darkgreen
#006400
ΔE00 3.22
Forest
#0B5509
ΔE00 3.60
Forest Green
#2D5A27
ΔE00 4.84
Navy Green
#35530A
ΔE00 6.00
Bottle Green
#044A05
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225F12 #4F125F
analogous
#495F12 #225F12 #125F28
triadic
#225F12 #12225F #5F1222
tetradic
#225F12 #12495F #4F125F #5F2812
square
#225F12 #12495F #4F125F #5F2812
split-complementary
#225F12 #28125F #5F1249
monochromatic
#091A05 #102C08 #225F12 #34921C #47C625
Accessibility & contrast
On white
7.74
#225F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#225F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225F12
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225F12 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#1A5C50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #225f12; /* rgb */ color: rgb(34, 95, 18); /* oklch */ color: oklch(42.9% 0.125 140.1);
Tailwind
colors: {
custom: {
50: '#668d56',
500: '#225f12',
950: '#000000',
},
}SCSS
$custom: #225f12; $custom-light: #668d56; $custom-dark: #000000;
JSON
{
"hex": "#225f12",
"rgb": {
"r": 34,
"g": 95,
"b": 18
},
"hsl": {
"h": 107.532,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42935,
"c": 0.12464,
"h": 140.1
},
"luminance": 0.08568
}Semantic roles & 50–950 ramp
primary
#225F12
secondary
#833697
accent
#3DEBC7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78