#197F1B#197F1B
#197F1B is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.161 H 143.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #197F1B |
|---|---|
| RGB | rgb(25, 127, 27) |
| HSL | hsl(121, 67%, 30%) |
| HSV | hsv(121, 80%, 50%) |
| CMYK | cmyk(80.3%, 0%, 78.7%, 50.2%) |
| CIE-LAB | lab(46.26, -47.55, 43.22) |
| CIE-LCH | lch(46.26, 64.26, 137.73°) |
| OKLab | oklab(52.12% -0.129 0.0972) |
| OKLCH | oklch(52.12% 0.161 143) |
| XYZ | xyz(8.1876, 15.4636, 3.5900) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.41
Green
#008000
ΔE00 2.06
Dark Grass Green
#388004
ΔE00 4.07
Forestgreen (CSS)
#228B22
ΔE00 4.35
Darkish Green
#287C37
ΔE00 4.62
Emerald Green
#028F1E
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#197F1B #7F197D
analogous
#4A7F19 #197F1B #197F4E
triadic
#197F1B #1B197F #7F1B19
tetradic
#197F1B #194A7F #7F197D #7F4E19
square
#197F1B #194A7F #7F197D #7F4E19
split-complementary
#197F1B #4E197F #7F194A
monochromatic
#051A05 #0F4C10 #197F1B #23B226 #3AD83D
Accessibility & contrast
On white
5.13
#197F1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#197F1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #197F1B
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##197F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##197F1B | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #197f1b; /* rgb */ color: rgb(25, 127, 27); /* oklch */ color: oklch(52.1% 0.161 143.0);
Tailwind
colors: {
custom: {
50: '#6aa55f',
500: '#197f1b',
950: '#000000',
},
}SCSS
$custom: #197f1b; $custom-light: #6aa55f; $custom-dark: #000000;
JSON
{
"hex": "#197f1b",
"rgb": {
"r": 25,
"g": 127,
"b": 27
},
"hsl": {
"h": 121.176,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.52119,
"c": 0.16147,
"h": 143
},
"luminance": 0.15465
}Semantic roles & 50–950 ramp
primary
#197F1B
secondary
#B341B1
accent
#3EE7EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79