#197E18#197E18

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

Color values

HEX#197E18
RGBrgb(25, 126, 24)
HSLhsl(119, 68%, 29%)
HSVhsv(119, 81%, 49%)
CMYKcmyk(80.2%, 0%, 81%, 50.6%)
CIE-LABlab(45.90, -47.44, 43.90)
CIE-LCHlch(45.90, 64.64, 137.22°)
OKLaboklab(51.81% -0.1288 0.0982)
OKLCHoklch(51.81% 0.162 142.7)
XYZxyz(8.0261, 15.1934, 3.3736)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197E18 #7D187E
analogous
#4C7E18 #197E18 #187E4A
triadic
#197E18 #18197E #7E1819
tetradic
#197E18 #184C7E #7D187E #7E4A18
square
#197E18 #184C7E #7D187E #7E4A18
split-complementary
#197E18 #4A187E #7E184C
monochromatic
#051A05 #0F4B0E #197E18 #23B122 #39D937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##197E18#FFFFFF#000000##FFFFFF
##197E181.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)
#766A24
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #197e18;
/* rgb */ color: rgb(25, 126, 24);
/* oklch */ color: oklch(51.8% 0.162 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa45e',
    500: '#197e18',
    950: '#000000',
  },
}
SCSS
$custom: #197e18;
$custom-light: #6aa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#197e18",
  "rgb": {
    "r": 25,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 119.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5181,
    "c": 0.16194,
    "h": 142.7
  },
  "luminance": 0.15194
}

Semantic roles & 50–950 ramp

primary
#197E18
secondary
#B13FB2
accent
#3DEBE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #197E18

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

Preview Lab → · Contrast checker → · Palette generator →

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