#226F12#226F12
#226F12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.145 H 140.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #226F12 |
|---|---|
| RGB | rgb(34, 111, 18) |
| HSL | hsl(110, 72%, 25%) |
| HSV | hsv(110, 84%, 44%) |
| CMYK | cmyk(69.4%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(40.82, -40.94, 41.12) |
| CIE-LCH | lch(40.82, 58.02, 134.87°) |
| OKLab | oklab(47.64% -0.112 0.0914) |
| OKLCH | oklch(47.64% 0.145 140.8) |
| XYZ | xyz(6.4530, 11.7520, 2.5004) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.06
Tree Green
#2A7E19
ΔE00 5.20
Green
#008000
ΔE00 6.15
Darkish Green
#287C37
ΔE00 6.35
Dark Grass Green
#388004
ΔE00 6.88
Deep Green
#02590F
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F12 #5F126F
analogous
#516F12 #226F12 #126F30
triadic
#226F12 #12226F #6F1222
tetradic
#226F12 #12516F #5F126F #6F3012
square
#226F12 #12516F #5F126F #6F3012
split-complementary
#226F12 #30126F #6F1251
monochromatic
#081A04 #123A09 #226F12 #32A41B #42D823
Accessibility & contrast
On white
6.27
#226F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#226F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F12
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F12 | 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: #226f12; /* rgb */ color: rgb(34, 111, 18); /* oklch */ color: oklch(47.6% 0.145 140.8);
Tailwind
colors: {
custom: {
50: '#699959',
500: '#226f12',
950: '#000000',
},
}SCSS
$custom: #226f12; $custom-light: #699959; $custom-dark: #000000;
JSON
{
"hex": "#226f12",
"rgb": {
"r": 34,
"g": 111,
"b": 18
},
"hsl": {
"h": 109.677,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47639,
"c": 0.14456,
"h": 140.8
},
"luminance": 0.11753
}Semantic roles & 50–950 ramp
primary
#226F12
secondary
#9337A6
accent
#39EFD0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79