#226412#226412
#226412 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.131 H 140.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #226412 |
|---|---|
| RGB | rgb(34, 100, 18) |
| HSL | hsl(108, 69%, 23%) |
| HSV | hsv(108, 82%, 39%) |
| CMYK | cmyk(66%, 0%, 82%, 60.8%) |
| CIE-LAB | lab(36.93, -36.79, 37.41) |
| CIE-LCH | lch(36.93, 52.47, 134.53°) |
| OKLab | oklab(44.41% -0.1009 0.0836) |
| OKLCH | oklch(44.41% 0.131 140.3) |
| XYZ | xyz(5.3258, 9.4976, 2.1247) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.39
Deep Green
#02590F
ΔE00 4.32
Forest
#0B5509
ΔE00 5.06
Forest Green
#2D5A27
ΔE00 5.99
Navy Green
#35530A
ΔE00 7.23
Camouflage Green
#4B6113
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226412 #541264
analogous
#4B6412 #226412 #12642B
triadic
#226412 #122264 #641222
tetradic
#226412 #124B64 #541264 #642B12
square
#226412 #124B64 #541264 #642B12
split-complementary
#226412 #2B1264 #64124B
monochromatic
#091A05 #103009 #226412 #34981B #45CC25
Accessibility & contrast
On white
7.24
#226412 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#226412 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226412
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226412 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226412 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#186155
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #226412; /* rgb */ color: rgb(34, 100, 18); /* oklch */ color: oklch(44.4% 0.131 140.3);
Tailwind
colors: {
custom: {
50: '#679157',
500: '#226412',
950: '#000000',
},
}SCSS
$custom: #226412; $custom-light: #679157; $custom-dark: #000000;
JSON
{
"hex": "#226412",
"rgb": {
"r": 34,
"g": 100,
"b": 18
},
"hsl": {
"h": 108.293,
"s": 69.492,
"l": 23.137
},
"oklch": {
"l": 0.44413,
"c": 0.13103,
"h": 140.3
},
"luminance": 0.09498
}Semantic roles & 50–950 ramp
primary
#226412
secondary
#88369C
accent
#3BECCA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D03
muted
#7A7D78