#226F19#226F19
#226F19 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.141 H 141.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #226F19 |
|---|---|
| RGB | rgb(34, 111, 25) |
| HSL | hsl(114, 63%, 27%) |
| HSV | hsv(114, 77%, 44%) |
| CMYK | cmyk(69.4%, 0%, 77.5%, 56.5%) |
| CIE-LAB | lab(40.86, -40.42, 38.66) |
| CIE-LCH | lch(40.86, 55.93, 136.28°) |
| OKLab | oklab(47.69% -0.1103 0.0873) |
| OKLCH | oklch(47.69% 0.141 141.6) |
| XYZ | xyz(6.5192, 11.7785, 2.8494) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.19
Tree Green
#2A7E19
ΔE00 5.36
Darkish Green
#287C37
ΔE00 5.77
Green
#008000
ΔE00 6.45
Dark Grass Green
#388004
ΔE00 7.29
Deep Green
#02590F
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F19 #66196F
analogous
#4D6F19 #226F19 #196F3B
triadic
#226F19 #19226F #6F1922
tetradic
#226F19 #194D6F #66196F #6F3B19
square
#226F19 #194D6F #66196F #6F3B19
split-complementary
#226F19 #3B196F #6F194D
monochromatic
#081906 #133D0E #226F19 #31A124 #42D132
Accessibility & contrast
On white
6.26
#226F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#226F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F19
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F19 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726408
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#126B5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #226f19; /* rgb */ color: rgb(34, 111, 25); /* oklch */ color: oklch(47.7% 0.141 141.6);
Tailwind
colors: {
custom: {
50: '#69995c',
500: '#226f19',
950: '#000000',
},
}SCSS
$custom: #226f19; $custom-light: #69995c; $custom-dark: #000000;
JSON
{
"hex": "#226f19",
"rgb": {
"r": 34,
"g": 111,
"b": 25
},
"hsl": {
"h": 113.721,
"s": 63.235,
"l": 26.667
},
"oklch": {
"l": 0.47688,
"c": 0.14064,
"h": 141.6
},
"luminance": 0.11779
}Semantic roles & 50–950 ramp
primary
#226F19
secondary
#9A3FA4
accent
#42E6D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79