#197E1A#197E1A
#197E1A is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.161 H 142.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #197E1A |
|---|---|
| RGB | rgb(25, 126, 26) |
| HSL | hsl(121, 67%, 30%) |
| HSV | hsv(121, 80%, 49%) |
| CMYK | cmyk(80.2%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(45.91, -47.29, 43.23) |
| CIE-LCH | lch(45.91, 64.07, 137.57°) |
| OKLab | oklab(51.82% -0.1283 0.097) |
| OKLCH | oklch(51.82% 0.161 142.9) |
| XYZ | xyz(8.0477, 15.2020, 3.4872) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.37
Green
#008000
ΔE00 2.09
Dark Grass Green
#388004
ΔE00 4.10
Darkish Green
#287C37
ΔE00 4.60
Forestgreen (CSS)
#228B22
ΔE00 4.70
Emerald Green
#028F1E
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#197E1A #7E197D
analogous
#4B7E19 #197E1A #197E4D
triadic
#197E1A #1A197E #7E1A19
tetradic
#197E1A #194B7E #7E197D #7E4D19
square
#197E1A #194B7E #7E197D #7E4D19
split-complementary
#197E1A #4D197E #7E194B
monochromatic
#051A05 #0F4B0F #197E1A #23B125 #3AD83B
Accessibility & contrast
On white
5.20
#197E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#197E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #197E1A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##197E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##197E1A | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #197e1a; /* rgb */ color: rgb(25, 126, 26); /* oklch */ color: oklch(51.8% 0.161 142.9);
Tailwind
colors: {
custom: {
50: '#6aa45f',
500: '#197e1a',
950: '#000000',
},
}SCSS
$custom: #197e1a; $custom-light: #6aa45f; $custom-dark: #000000;
JSON
{
"hex": "#197e1a",
"rgb": {
"r": 25,
"g": 126,
"b": 26
},
"hsl": {
"h": 120.594,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.51824,
"c": 0.16088,
"h": 142.9
},
"luminance": 0.15203
}Semantic roles & 50–950 ramp
primary
#197E1A
secondary
#B241B1
accent
#3EE8EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79