#197831#197831
#197831 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.137 H 147.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #197831 |
|---|---|
| RGB | rgb(25, 120, 49) |
| HSL | hsl(135, 66%, 28%) |
| HSV | hsv(135, 79%, 47%) |
| CMYK | cmyk(79.2%, 0%, 59.2%, 52.9%) |
| CIE-LAB | lab(44.03, -42.68, 31.05) |
| CIE-LCH | lch(44.03, 52.78, 143.96°) |
| OKLab | oklab(50.33% -0.1148 0.0739) |
| OKLCH | oklch(50.33% 0.137 147.2) |
| XYZ | xyz(7.6712, 13.8605, 5.1762) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.85
Jungle Green
#048243
ΔE00 4.37
Tree Green
#2A7E19
ΔE00 5.33
Green
#008000
ΔE00 6.59
Forestgreen (CSS)
#228B22
ΔE00 8.02
Darkgreen
#006400
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#197831 #781960
analogous
#307819 #197831 #197860
triadic
#197831 #311978 #783119
tetradic
#197831 #193078 #781960 #786019
square
#197831 #193078 #781960 #786019
split-complementary
#197831 #601978 #781930
monochromatic
#05190A #0E451C #197831 #24AB46 #36D55E
Accessibility & contrast
On white
5.57
#197831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#197831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #197831
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##197831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##197831 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796D2A
Deuteranopia (green-blind)
#6F6537
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #197831; /* rgb */ color: rgb(25, 120, 49); /* oklch */ color: oklch(50.3% 0.137 147.2);
Tailwind
colors: {
custom: {
50: '#67a06b',
500: '#197831',
950: '#000000',
},
}SCSS
$custom: #197831; $custom-light: #67a06b; $custom-dark: #000000;
JSON
{
"hex": "#197831",
"rgb": {
"r": 25,
"g": 120,
"b": 49
},
"hsl": {
"h": 135.158,
"s": 65.517,
"l": 28.431
},
"oklch": {
"l": 0.50331,
"c": 0.13655,
"h": 147.2
},
"luminance": 0.13861
}Semantic roles & 50–950 ramp
primary
#197831
secondary
#AD4091
accent
#3FBEE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A