#197817#197817

#197817 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.156 H 142.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#197817
RGBrgb(25, 120, 23)
HSLhsl(119, 68%, 28%)
HSVhsv(119, 81%, 47%)
CMYKcmyk(79.2%, 0%, 80.8%, 52.9%)
CIE-LABlab(43.80, -45.50, 42.22)
CIE-LCHlch(43.80, 62.07, 137.14°)
OKLaboklab(50.06% -0.1236 0.0945)
OKLCHoklch(50.06% 0.156 142.6)
XYZxyz(7.2716, 13.7006, 3.0717)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#197817 #761778
analogous
#497817 #197817 #177845
triadic
#197817 #171978 #781719
tetradic
#197817 #174978 #761778 #784517
square
#197817 #174978 #761778 #784517
split-complementary
#197817 #451778 #781749
monochromatic
#051A05 #0E450D #197817 #24AB21 #35D832

Accessibility & contrast

On white

5.61
#197817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#197817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #197817
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##197817#FFFFFF#000000##FFFFFF
##1978171.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #197817;
/* rgb */ color: rgb(25, 120, 23);
/* oklch */ color: oklch(50.1% 0.156 142.6);
Tailwind
colors: {
  custom: {
    50: '#68a05c',
    500: '#197817',
    950: '#000000',
  },
}
SCSS
$custom: #197817;
$custom-light: #68a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#197817",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 118.763,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.15558,
    "h": 142.6
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#197817
secondary
#AB3EAD
accent
#3DEBE7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #197817

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

Preview Lab → · Contrast checker → · Palette generator →

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