#19872C#19872C

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

Color values

HEX#19872C
RGBrgb(25, 135, 44)
HSLhsl(130, 69%, 31%)
HSVhsv(130, 81%, 53%)
CMYKcmyk(81.5%, 0%, 67.4%, 47.1%)
CIE-LABlab(49.15, -48.62, 39.30)
CIE-LCHlch(49.15, 62.52, 141.05°)
OKLaboklab(54.56% -0.1311 0.0911)
OKLCHoklch(54.56% 0.16 145.2)
XYZxyz(9.5188, 17.7153, 5.3001)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19872C #871974
analogous
#3D8719 #19872C #198763
triadic
#19872C #2C1987 #872C19
tetradic
#19872C #193D87 #871974 #876319
square
#19872C #193D87 #871974 #876319
split-complementary
#19872C #631987 #87193D
monochromatic
#06200A #0F531B #19872C #23BB3D #3FDB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##19872C#FFFFFF#000000##FFFFFF
##19872C1.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)
#897A20
Deuteranopia (green-blind)
#7D7234
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #19872c;
/* rgb */ color: rgb(25, 135, 44);
/* oklch */ color: oklch(54.6% 0.160 145.2);
Tailwind
colors: {
  custom: {
    50: '#6bab69',
    500: '#19872c',
    950: '#000000',
  },
}
SCSS
$custom: #19872c;
$custom-light: #6bab69;
$custom-dark: #000000;
JSON
{
  "hex": "#19872c",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 130.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5456,
    "c": 0.15966,
    "h": 145.2
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#19872C
secondary
#BA41A6
accent
#3CCDEC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #19872C

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

Preview Lab → · Contrast checker → · Palette generator →

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