#197F21#197F21

#197F21 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.158 H 143.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#197F21
RGBrgb(25, 127, 33)
HSLhsl(125, 67%, 30%)
HSVhsv(125, 80%, 50%)
CMYKcmyk(80.3%, 0%, 74%, 50.2%)
CIE-LABlab(46.30, -47.04, 40.97)
CIE-LCHlch(46.30, 62.38, 138.95°)
OKLaboklab(52.17% -0.1273 0.0933)
OKLCHoklch(52.17% 0.158 143.8)
XYZxyz(8.2642, 15.4942, 3.9937)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197F21 #7F1977
analogous
#447F19 #197F21 #197F54
triadic
#197F21 #21197F #7F2119
tetradic
#197F21 #19447F #7F1977 #7F5419
square
#197F21 #19447F #7F1977 #7F5419
split-complementary
#197F21 #54197F #7F1944
monochromatic
#051A07 #0F4C14 #197F21 #23B22E #3AD847

Accessibility & contrast

On white

5.12
#197F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#197F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197F21
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197F21#FFFFFF#000000##FFFFFF
##197F211.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827211
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #197f21;
/* rgb */ color: rgb(25, 127, 33);
/* oklch */ color: oklch(52.2% 0.158 143.8);
Tailwind
colors: {
  custom: {
    50: '#6aa562',
    500: '#197f21',
    950: '#000000',
  },
}
SCSS
$custom: #197f21;
$custom-light: #6aa562;
$custom-dark: #000000;
JSON
{
  "hex": "#197f21",
  "rgb": {
    "r": 25,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 124.706,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.15783,
    "h": 143.8
  },
  "luminance": 0.15495
}

Semantic roles & 50–950 ramp

primary
#197F21
secondary
#B341AA
accent
#3EDCEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #197F21

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

Preview Lab → · Contrast checker → · Palette generator →

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