#197E1B#197E1B
#197E1B is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.160 H 143.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #197E1B |
|---|---|
| RGB | rgb(25, 126, 27) |
| HSL | hsl(121, 67%, 30%) |
| HSV | hsv(121, 80%, 49%) |
| CMYK | cmyk(80.2%, 0%, 78.6%, 50.6%) |
| CIE-LAB | lab(45.92, -47.22, 42.88) |
| CIE-LCH | lch(45.92, 63.78, 137.76°) |
| OKLab | oklab(51.83% -0.1281 0.0964) |
| OKLCH | oklch(51.83% 0.16 143) |
| XYZ | xyz(8.0591, 15.2066, 3.5471) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.42
Green
#008000
ΔE00 2.19
Dark Grass Green
#388004
ΔE00 4.19
Darkish Green
#287C37
ΔE00 4.49
Forestgreen (CSS)
#228B22
ΔE00 4.70
Emerald Green
#028F1E
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#197E1B #7E197C
analogous
#4A7E19 #197E1B #197E4E
triadic
#197E1B #1B197E #7E1B19
tetradic
#197E1B #194A7E #7E197C #7E4E19
square
#197E1B #194A7E #7E197C #7E4E19
split-complementary
#197E1B #4E197E #7E194A
monochromatic
#051A05 #0F4B10 #197E1B #23B126 #3AD83D
Accessibility & contrast
On white
5.20
#197E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#197E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #197E1B
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##197E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##197E1B | 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)
#817105
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #197e1b; /* rgb */ color: rgb(25, 126, 27); /* oklch */ color: oklch(51.8% 0.160 143.0);
Tailwind
colors: {
custom: {
50: '#6aa45f',
500: '#197e1b',
950: '#000000',
},
}SCSS
$custom: #197e1b; $custom-light: #6aa45f; $custom-dark: #000000;
JSON
{
"hex": "#197e1b",
"rgb": {
"r": 25,
"g": 126,
"b": 27
},
"hsl": {
"h": 121.188,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.51831,
"c": 0.16031,
"h": 143
},
"luminance": 0.15208
}Semantic roles & 50–950 ramp
primary
#197E1B
secondary
#B241B0
accent
#3EE6EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79