#19872B#19872B

#19872B is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.160 H 145.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#19872B
RGBrgb(25, 135, 43)
HSLhsl(130, 69%, 31%)
HSVhsv(130, 81%, 53%)
CMYKcmyk(81.5%, 0%, 68.1%, 47.1%)
CIE-LABlab(49.14, -48.73, 39.74)
CIE-LCHlch(49.14, 62.88, 140.81°)
OKLaboklab(54.55% -0.1314 0.0919)
OKLCHoklch(54.55% 0.16 145)
XYZxyz(9.5002, 17.7079, 5.2023)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19872B #871975
analogous
#3E8719 #19872B #198762
triadic
#19872B #2B1987 #872B19
tetradic
#19872B #193E87 #871975 #876219
square
#19872B #193E87 #871975 #876219
split-complementary
#19872B #621987 #87193E
monochromatic
#06200A #0F531B #19872B #23BB3B #3FDB59

Accessibility & contrast

On white

4.62
#19872B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#19872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #19872B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19872B#FFFFFF#000000##FFFFFF
##19872B1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A1F
Deuteranopia (green-blind)
#7D7233
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #19872b;
/* rgb */ color: rgb(25, 135, 43);
/* oklch */ color: oklch(54.5% 0.160 145.0);
Tailwind
colors: {
  custom: {
    50: '#6bab69',
    500: '#19872b',
    950: '#000000',
  },
}
SCSS
$custom: #19872b;
$custom-light: #6bab69;
$custom-dark: #000000;
JSON
{
  "hex": "#19872b",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 129.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5455,
    "c": 0.16041,
    "h": 145
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#19872B
secondary
#BA41A7
accent
#3CCFEC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #19872B

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

Preview Lab → · Contrast checker → · Palette generator →

#19872B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva