#226017#226017
#226017 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.3% C 0.123 H 140.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #226017 |
|---|---|
| RGB | rgb(34, 96, 23) |
| HSL | hsl(111, 61%, 23%) |
| HSV | hsv(111, 76%, 38%) |
| CMYK | cmyk(64.6%, 0%, 76%, 62.4%) |
| CIE-LAB | lab(35.53, -34.81, 34.05) |
| CIE-LCH | lch(35.53, 48.70, 135.63°) |
| OKLab | oklab(43.27% -0.0952 0.0774) |
| OKLCH | oklch(43.27% 0.123 140.9) |
| XYZ | xyz(4.9970, 8.7672, 2.2394) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.14
Darkgreen
#006400
ΔE00 3.40
Forest
#0B5509
ΔE00 3.83
Forest Green
#2D5A27
ΔE00 4.46
Navy Green
#35530A
ΔE00 6.44
Pine
#2B5D34
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226017 #551760
analogous
#466017 #226017 #176030
triadic
#226017 #172260 #601722
tetradic
#226017 #174660 #551760 #603017
square
#226017 #174660 #551760 #603017
split-complementary
#226017 #301760 #601746
monochromatic
#091906 #112F0B #226017 #339123 #45C32F
Accessibility & contrast
On white
7.63
#226017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#226017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226017
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226017 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#195D52
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #226017; /* rgb */ color: rgb(34, 96, 23); /* oklch */ color: oklch(43.3% 0.123 140.9);
Tailwind
colors: {
custom: {
50: '#668e59',
500: '#226017',
950: '#000000',
},
}SCSS
$custom: #226017; $custom-light: #668e59; $custom-dark: #000000;
JSON
{
"hex": "#226017",
"rgb": {
"r": 34,
"g": 96,
"b": 23
},
"hsl": {
"h": 110.959,
"s": 61.345,
"l": 23.333
},
"oklch": {
"l": 0.43272,
"c": 0.1227,
"h": 140.9
},
"luminance": 0.08768
}Semantic roles & 50–950 ramp
primary
#226017
secondary
#893C97
accent
#43E4CC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79