#226F16#226F16
#226F16 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.142 H 141.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #226F16 |
|---|---|
| RGB | rgb(34, 111, 22) |
| HSL | hsl(112, 67%, 26%) |
| HSV | hsv(112, 80%, 44%) |
| CMYK | cmyk(69.4%, 0%, 80.2%, 56.5%) |
| CIE-LAB | lab(40.84, -40.66, 39.77) |
| CIE-LCH | lch(40.84, 56.87, 135.64°) |
| OKLab | oklab(47.67% -0.1111 0.0892) |
| OKLCH | oklch(47.67% 0.142 141.2) |
| XYZ | xyz(6.4886, 11.7662, 2.6881) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.11
Tree Green
#2A7E19
ΔE00 5.27
Darkish Green
#287C37
ΔE00 6.03
Green
#008000
ΔE00 6.30
Dark Grass Green
#388004
ΔE00 7.09
Deep Green
#02590F
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F16 #63166F
analogous
#4E6F16 #226F16 #166F36
triadic
#226F16 #16226F #6F1622
tetradic
#226F16 #164E6F #63166F #6F3616
square
#226F16 #164E6F #63166F #6F3616
split-complementary
#226F16 #36166F #6F164E
monochromatic
#081A05 #123C0C #226F16 #32A220 #41D52B
Accessibility & contrast
On white
6.26
#226F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#226F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F16
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F16 | 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)
#726402
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#136B5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #226f16; /* rgb */ color: rgb(34, 111, 22); /* oklch */ color: oklch(47.7% 0.142 141.2);
Tailwind
colors: {
custom: {
50: '#69995b',
500: '#226f16',
950: '#000000',
},
}SCSS
$custom: #226f16; $custom-light: #69995b; $custom-dark: #000000;
JSON
{
"hex": "#226f16",
"rgb": {
"r": 34,
"g": 111,
"b": 22
},
"hsl": {
"h": 111.91,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47665,
"c": 0.14244,
"h": 141.2
},
"luminance": 0.11767
}Semantic roles & 50–950 ramp
primary
#226F16
secondary
#973CA5
accent
#3EEAD3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79