#19872A#19872A

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

Color values

HEX#19872A
RGBrgb(25, 135, 42)
HSLhsl(129, 69%, 31%)
HSVhsv(129, 81%, 53%)
CMYKcmyk(81.5%, 0%, 68.9%, 47.1%)
CIE-LABlab(49.13, -48.84, 40.17)
CIE-LCHlch(49.13, 63.24, 140.57°)
OKLaboklab(54.54% -0.1318 0.0927)
OKLCHoklch(54.54% 0.161 144.9)
XYZxyz(9.4821, 17.7006, 5.1069)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19872A #871976
analogous
#3F8719 #19872A #198761
triadic
#19872A #2A1987 #872A19
tetradic
#19872A #193F87 #871976 #876119
square
#19872A #193F87 #871976 #876119
split-complementary
#19872A #611987 #87193F
monochromatic
#06200A #0F531A #19872A #23BB3A #3FDB57

Accessibility & contrast

On white

4.63
#19872A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #19872A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19872A#FFFFFF#000000##FFFFFF
##19872A1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #19872a;
/* rgb */ color: rgb(25, 135, 42);
/* oklch */ color: oklch(54.5% 0.161 144.9);
Tailwind
colors: {
  custom: {
    50: '#6bab68',
    500: '#19872a',
    950: '#000000',
  },
}
SCSS
$custom: #19872a;
$custom-light: #6bab68;
$custom-dark: #000000;
JSON
{
  "hex": "#19872a",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 129.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.16114,
    "h": 144.9
  },
  "luminance": 0.17702
}

Semantic roles & 50–950 ramp

primary
#19872A
secondary
#BA41A8
accent
#3CD0EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #19872A

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

Preview Lab → · Contrast checker → · Palette generator →

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