#197F38#197F38
#197F38 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.139 H 148.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #197F38 |
|---|---|
| RGB | rgb(25, 127, 56) |
| HSL | hsl(138, 67%, 30%) |
| HSV | hsv(138, 80%, 50%) |
| CMYK | cmyk(80.3%, 0%, 55.9%, 50.2%) |
| CIE-LAB | lab(46.54, -44.20, 30.44) |
| CIE-LCH | lch(46.54, 53.67, 145.44°) |
| OKLab | oklab(52.44% -0.1188 0.0731) |
| OKLCH | oklch(52.44% 0.139 148.4) |
| XYZ | xyz(8.7034, 15.6699, 6.3065) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.48
Jungle Green
#048243
ΔE00 2.44
Tree Green
#2A7E19
ΔE00 5.36
Forestgreen (CSS)
#228B22
ΔE00 6.46
Green
#008000
ΔE00 6.51
Sea Green
#2E8B57
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#197F38 #7F1960
analogous
#2D7F19 #197F38 #197F6B
triadic
#197F38 #38197F #7F3819
tetradic
#197F38 #192D7F #7F1960 #7F6B19
square
#197F38 #192D7F #7F1960 #7F6B19
split-complementary
#197F38 #6B197F #7F192D
monochromatic
#051A0B #0F4C21 #197F38 #23B24F #3AD86A
Accessibility & contrast
On white
5.08
#197F38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#197F38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #197F38
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##197F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##197F38 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807332
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #197f38; /* rgb */ color: rgb(25, 127, 56); /* oklch */ color: oklch(52.4% 0.139 148.4);
Tailwind
colors: {
custom: {
50: '#68a570',
500: '#197f38',
950: '#000000',
},
}SCSS
$custom: #197f38; $custom-light: #68a570; $custom-dark: #000000;
JSON
{
"hex": "#197f38",
"rgb": {
"r": 25,
"g": 127,
"b": 56
},
"hsl": {
"h": 138.235,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.52437,
"c": 0.13944,
"h": 148.4
},
"luminance": 0.15671
}Semantic roles & 50–950 ramp
primary
#197F38
secondary
#B34190
accent
#3EB6EA
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A