#197E17#197E17

#197E17 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.162 H 142.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#197E17
RGBrgb(25, 126, 23)
HSLhsl(119, 69%, 29%)
HSVhsv(119, 82%, 49%)
CMYKcmyk(80.2%, 0%, 81.7%, 50.6%)
CIE-LABlab(45.89, -47.51, 44.23)
CIE-LCHlch(45.89, 64.91, 137.05°)
OKLaboklab(51.8% -0.129 0.0987)
OKLCHoklch(51.8% 0.162 142.6)
XYZxyz(8.0159, 15.1893, 3.3198)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197E17 #7C177E
analogous
#4D7E17 #197E17 #177E49
triadic
#197E17 #17197E #7E1719
tetradic
#197E17 #174D7E #7C177E #7E4917
square
#197E17 #174D7E #7C177E #7E4917
split-complementary
#197E17 #49177E #7E174D
monochromatic
#051A05 #0F4A0E #197E17 #23B220 #38DA35

Accessibility & contrast

On white

5.20
#197E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#197E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197E17
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197E17#FFFFFF#000000##FFFFFF
##197E171.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #197e17;
/* rgb */ color: rgb(25, 126, 23);
/* oklch */ color: oklch(51.8% 0.162 142.6);
Tailwind
colors: {
  custom: {
    50: '#6aa45d',
    500: '#197e17',
    950: '#000000',
  },
}
SCSS
$custom: #197e17;
$custom-light: #6aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#197e17",
  "rgb": {
    "r": 25,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 118.835,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.16246,
    "h": 142.6
  },
  "luminance": 0.1519
}

Semantic roles & 50–950 ramp

primary
#197E17
secondary
#B03EB3
accent
#3CECE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #197E17

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#197E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva