#197218#197218

#197218 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.148 H 142.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#197218
RGBrgb(25, 114, 24)
HSLhsl(119, 65%, 27%)
HSVhsv(119, 79%, 45%)
CMYKcmyk(78.1%, 0%, 78.9%, 55.3%)
CIE-LABlab(41.70, -43.37, 39.81)
CIE-LCHlch(41.70, 58.87, 137.45°)
OKLaboklab(48.32% -0.1178 0.0896)
OKLCHoklch(48.32% 0.148 142.7)
XYZxyz(6.5827, 12.3065, 2.8924)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197218 #711872
analogous
#467218 #197218 #187244
triadic
#197218 #181972 #721819
tetradic
#197218 #184672 #711872 #724418
square
#197218 #184672 #711872 #724418
split-complementary
#197218 #441872 #721846
monochromatic
#061905 #0E3F0D #197218 #24A523 #33D431

Accessibility & contrast

On white

6.07
#197218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#197218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197218
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197218#FFFFFF#000000##FFFFFF
##1972181.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #197218;
/* rgb */ color: rgb(25, 114, 24);
/* oklch */ color: oklch(48.3% 0.148 142.7);
Tailwind
colors: {
  custom: {
    50: '#679b5c',
    500: '#197218',
    950: '#000000',
  },
}
SCSS
$custom: #197218;
$custom-light: #679b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#197218",
  "rgb": {
    "r": 25,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 119.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4832,
    "c": 0.14799,
    "h": 142.7
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#197218
secondary
#A63EA7
accent
#40E8E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #197218

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

Preview Lab → · Contrast checker → · Palette generator →

#197218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva