#226F11#226F11
#226F11 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.145 H 140.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #226F11 |
|---|---|
| RGB | rgb(34, 111, 17) |
| HSL | hsl(109, 73%, 25%) |
| HSV | hsv(109, 85%, 44%) |
| CMYK | cmyk(69.4%, 0%, 84.7%, 56.5%) |
| CIE-LAB | lab(40.81, -41.00, 41.43) |
| CIE-LCH | lch(40.81, 58.28, 134.70°) |
| OKLab | oklab(47.63% -0.1122 0.0919) |
| OKLCH | oklch(47.63% 0.145 140.7) |
| XYZ | xyz(6.4450, 11.7488, 2.4583) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.06
Tree Green
#2A7E19
ΔE00 5.19
Green
#008000
ΔE00 6.12
Darkish Green
#287C37
ΔE00 6.43
Dark Grass Green
#388004
ΔE00 6.83
Deep Green
#02590F
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F11 #5E116F
analogous
#516F11 #226F11 #116F2F
triadic
#226F11 #11226F #6F1122
tetradic
#226F11 #11516F #5E116F #6F2F11
square
#226F11 #11516F #5E116F #6F2F11
split-complementary
#226F11 #2F116F #6F1151
monochromatic
#081B04 #123A09 #226F11 #32A419 #43D921
Accessibility & contrast
On white
6.27
#226F11 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#226F11 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F11
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F11 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#146B5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #226f11; /* rgb */ color: rgb(34, 111, 17); /* oklch */ color: oklch(47.6% 0.145 140.7);
Tailwind
colors: {
custom: {
50: '#6a9958',
500: '#226f11',
950: '#000000',
},
}SCSS
$custom: #226f11; $custom-light: #6a9958; $custom-dark: #000000;
JSON
{
"hex": "#226f11",
"rgb": {
"r": 34,
"g": 111,
"b": 17
},
"hsl": {
"h": 109.149,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.47633,
"c": 0.14505,
"h": 140.7
},
"luminance": 0.11749
}Semantic roles & 50–950 ramp
primary
#226F11
secondary
#9235A6
accent
#38F0CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79