#197217#197217

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

Color values

HEX#197217
RGBrgb(25, 114, 23)
HSLhsl(119, 66%, 27%)
HSVhsv(119, 80%, 45%)
CMYKcmyk(78.1%, 0%, 79.8%, 55.3%)
CIE-LABlab(41.69, -43.45, 40.17)
CIE-LCHlch(41.69, 59.17, 137.25°)
OKLaboklab(48.31% -0.118 0.0902)
OKLCHoklch(48.31% 0.149 142.6)
XYZxyz(6.5725, 12.3024, 2.8387)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197217 #701772
analogous
#477217 #197217 #177243
triadic
#197217 #171972 #721719
tetradic
#197217 #174772 #701772 #724317
square
#197217 #174772 #701772 #724317
split-complementary
#197217 #431772 #721747
monochromatic
#061905 #0E3F0D #197217 #24A521 #32D52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##197217#FFFFFF#000000##FFFFFF
##1972171.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)
#756703
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #197217;
/* rgb */ color: rgb(25, 114, 23);
/* oklch */ color: oklch(48.3% 0.149 142.6);
Tailwind
colors: {
  custom: {
    50: '#679b5b',
    500: '#197217',
    950: '#000000',
  },
}
SCSS
$custom: #197217;
$custom-light: #679b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#197217",
  "rgb": {
    "r": 25,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 118.681,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48312,
    "c": 0.14856,
    "h": 142.6
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#197217
secondary
#A53DA8
accent
#3EE9E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #197217

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

Preview Lab → · Contrast checker → · Palette generator →

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