#225E12#225E12
#225E12 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.123 H 140.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #225E12 |
|---|---|
| RGB | rgb(34, 94, 18) |
| HSL | hsl(107, 68%, 22%) |
| HSV | hsv(107, 81%, 37%) |
| CMYK | cmyk(63.8%, 0%, 80.9%, 63.1%) |
| CIE-LAB | lab(34.78, -34.43, 35.32) |
| CIE-LCH | lch(34.78, 49.32, 134.27°) |
| OKLab | oklab(42.64% -0.0945 0.0793) |
| OKLCH | oklch(42.64% 0.123 140) |
| XYZ | xyz(4.7714, 8.3887, 1.9399) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.95
Forest
#0B5509
ΔE00 3.33
Darkgreen
#006400
ΔE00 3.46
Forest Green
#2D5A27
ΔE00 4.64
Navy Green
#35530A
ΔE00 5.78
Bottle Green
#044A05
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#225E12 #4E125E
analogous
#485E12 #225E12 #125E28
triadic
#225E12 #12225E #5E1222
tetradic
#225E12 #12485E #4E125E #5E2812
square
#225E12 #12485E #4E125E #5E2812
split-complementary
#225E12 #28125E #5E1248
monochromatic
#091A05 #0F2B08 #225E12 #35911C #47C526
Accessibility & contrast
On white
7.84
#225E12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#225E12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #225E12
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##225E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##225E12 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#1A5B50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #225e12; /* rgb */ color: rgb(34, 94, 18); /* oklch */ color: oklch(42.6% 0.123 140.0);
Tailwind
colors: {
custom: {
50: '#668c56',
500: '#225e12',
950: '#000000',
},
}SCSS
$custom: #225e12; $custom-light: #668c56; $custom-dark: #000000;
JSON
{
"hex": "#225e12",
"rgb": {
"r": 34,
"g": 94,
"b": 18
},
"hsl": {
"h": 107.368,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42639,
"c": 0.12334,
"h": 140
},
"luminance": 0.08389
}Semantic roles & 50–950 ramp
primary
#225E12
secondary
#823596
accent
#3DEBC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78