#19871C#19871C

#19871C is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.170 H 143.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#19871C
RGBrgb(25, 135, 28)
HSLhsl(122, 69%, 31%)
HSVhsv(122, 81%, 53%)
CMYKcmyk(81.5%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.03, -50.11, 45.58)
CIE-LCHlch(49.03, 67.74, 137.71°)
OKLaboklab(54.42% -0.1359 0.1022)
OKLCHoklch(54.42% 0.17 143)
XYZxyz(9.2739, 17.6173, 4.0101)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19871C #871984
analogous
#4D8719 #19871C #198753
triadic
#19871C #1C1987 #871C19
tetradic
#19871C #194D87 #871984 #875319
square
#19871C #194D87 #871984 #875319
split-complementary
#19871C #531987 #87194D
monochromatic
#062007 #0F5311 #19871C #23BB27 #3FDB43

Accessibility & contrast

On white

4.64
#19871C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#19871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #19871C
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19871C#FFFFFF#000000##FFFFFF
##19871C1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7902
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #19871c;
/* rgb */ color: rgb(25, 135, 28);
/* oklch */ color: oklch(54.4% 0.170 143.0);
Tailwind
colors: {
  custom: {
    50: '#6cab61',
    500: '#19871c',
    950: '#000000',
  },
}
SCSS
$custom: #19871c;
$custom-light: #6cab61;
$custom-dark: #000000;
JSON
{
  "hex": "#19871c",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 121.636,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.17003,
    "h": 143
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#19871C
secondary
#BA41B7
accent
#3CE7EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #19871C

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

Preview Lab → · Contrast checker → · Palette generator →

#19871C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva