#226618#226618
#226618 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.130 H 141.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #226618 |
|---|---|
| RGB | rgb(34, 102, 24) |
| HSL | hsl(112, 62%, 25%) |
| HSV | hsv(112, 76%, 40%) |
| CMYK | cmyk(66.7%, 0%, 76.5%, 60%) |
| CIE-LAB | lab(37.68, -37.09, 35.83) |
| CIE-LCH | lch(37.68, 51.57, 135.99°) |
| OKLab | oklab(45.05% -0.1013 0.0812) |
| OKLCH | oklch(45.05% 0.13 141.3) |
| XYZ | xyz(5.5756, 9.9082, 2.4826) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.77
Deep Green
#02590F
ΔE00 4.66
Forest
#0B5509
ΔE00 5.59
Forest Green
#2D5A27
ΔE00 5.96
Pine
#2B5D34
ΔE00 7.76
Navy Green
#35530A
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226618 #5C1866
analogous
#496618 #226618 #186635
triadic
#226618 #182266 #661822
tetradic
#226618 #184966 #5C1866 #663518
square
#226618 #184966 #5C1866 #663518
split-complementary
#226618 #351866 #661849
monochromatic
#081906 #11340C #226618 #339824 #43C92F
Accessibility & contrast
On white
7.04
#226618 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#226618 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226618
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226618 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226618 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695C0A
Deuteranopia (green-blind)
#605720
Tritanopia (blue-blind)
#166357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #226618; /* rgb */ color: rgb(34, 102, 24); /* oklch */ color: oklch(45.0% 0.130 141.3);
Tailwind
colors: {
custom: {
50: '#67925a',
500: '#226618',
950: '#000000',
},
}SCSS
$custom: #226618; $custom-light: #67925a; $custom-dark: #000000;
JSON
{
"hex": "#226618",
"rgb": {
"r": 34,
"g": 102,
"b": 24
},
"hsl": {
"h": 112.308,
"s": 61.905,
"l": 24.706
},
"oklch": {
"l": 0.45048,
"c": 0.12987,
"h": 141.3
},
"luminance": 0.09909
}Semantic roles & 50–950 ramp
primary
#226618
secondary
#903E9C
accent
#43E5D0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79