#226F17#226F17
#226F17 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.142 H 141.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #226F17 |
|---|---|
| RGB | rgb(34, 111, 23) |
| HSL | hsl(113, 66%, 26%) |
| HSV | hsv(113, 79%, 44%) |
| CMYK | cmyk(69.4%, 0%, 79.3%, 56.5%) |
| CIE-LAB | lab(40.85, -40.58, 39.41) |
| CIE-LCH | lch(40.85, 56.57, 135.84°) |
| OKLab | oklab(47.67% -0.1108 0.0886) |
| OKLCH | oklch(47.67% 0.142 141.4) |
| XYZ | xyz(6.4984, 11.7702, 2.7398) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.13
Tree Green
#2A7E19
ΔE00 5.30
Darkish Green
#287C37
ΔE00 5.94
Green
#008000
ΔE00 6.35
Dark Grass Green
#388004
ΔE00 7.16
Deep Green
#02590F
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F17 #64176F
analogous
#4E6F17 #226F17 #176F38
triadic
#226F17 #17226F #6F1722
tetradic
#226F17 #174E6F #64176F #6F3817
square
#226F17 #174E6F #64176F #6F3817
split-complementary
#226F17 #38176F #6F174E
monochromatic
#081905 #123C0C #226F17 #32A222 #42D32D
Accessibility & contrast
On white
6.26
#226F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#226F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F17
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F17 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#136B5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #226f17; /* rgb */ color: rgb(34, 111, 23); /* oklch */ color: oklch(47.7% 0.142 141.4);
Tailwind
colors: {
custom: {
50: '#69995b',
500: '#226f17',
950: '#000000',
},
}SCSS
$custom: #226f17; $custom-light: #69995b; $custom-dark: #000000;
JSON
{
"hex": "#226f17",
"rgb": {
"r": 34,
"g": 111,
"b": 23
},
"hsl": {
"h": 112.5,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.47672,
"c": 0.14185,
"h": 141.4
},
"luminance": 0.11771
}Semantic roles & 50–950 ramp
primary
#226F17
secondary
#983DA5
accent
#3FE9D3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79