#196818#196818
#196818 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.136 H 142.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #196818 |
|---|---|
| RGB | rgb(25, 104, 24) |
| HSL | hsl(119, 63%, 25%) |
| HSV | hsv(119, 77%, 41%) |
| CMYK | cmyk(76%, 0%, 76.9%, 59.2%) |
| CIE-LAB | lab(38.15, -39.83, 36.24) |
| CIE-LCH | lch(38.15, 53.85, 137.70°) |
| OKLab | oklab(45.37% -0.1082 0.0822) |
| OKLCH | oklch(45.37% 0.136 142.8) |
| XYZ | xyz(5.5158, 10.1726, 2.5368) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.56
Deep Green
#02590F
ΔE00 4.96
Forest
#0B5509
ΔE00 6.08
Forest Green
#2D5A27
ΔE00 6.70
Darkish Green
#287C37
ΔE00 7.44
Tree Green
#2A7E19
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#196818 #671868
analogous
#416818 #196818 #18683F
triadic
#196818 #181968 #681819
tetradic
#196818 #184168 #671868 #683F18
square
#196818 #184168 #671868 #683F18
split-complementary
#196818 #3F1868 #681841
monochromatic
#061906 #0D360D #196818 #259A23 #31CB2F
Accessibility & contrast
On white
6.92
#196818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#196818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #196818
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##196818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##196818 | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #196818; /* rgb */ color: rgb(25, 104, 24); /* oklch */ color: oklch(45.4% 0.136 142.8);
Tailwind
colors: {
custom: {
50: '#64945b',
500: '#196818',
950: '#000000',
},
}SCSS
$custom: #196818; $custom-light: #64945b; $custom-dark: #000000;
JSON
{
"hex": "#196818",
"rgb": {
"r": 25,
"g": 104,
"b": 24
},
"hsl": {
"h": 119.25,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.45373,
"c": 0.13584,
"h": 142.8
},
"luminance": 0.10173
}Semantic roles & 50–950 ramp
primary
#196818
secondary
#9D3E9E
accent
#42E6E4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79