#19871D#19871D

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

Color values

HEX#19871D
RGBrgb(25, 135, 29)
HSLhsl(122, 69%, 31%)
HSVhsv(122, 81%, 53%)
CMYKcmyk(81.5%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.03, -50.04, 45.23)
CIE-LCHlch(49.03, 67.45, 137.89°)
OKLaboklab(54.43% -0.1356 0.1016)
OKLCHoklch(54.43% 0.169 143.2)
XYZxyz(9.2860, 17.6222, 4.0742)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19871D #871983
analogous
#4C8719 #19871D #198754
triadic
#19871D #1D1987 #871D19
tetradic
#19871D #194C87 #871983 #875419
square
#19871D #194C87 #871983 #875419
split-complementary
#19871D #541987 #87194C
monochromatic
#062007 #0F5312 #19871D #23BB28 #3FDB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##19871D#FFFFFF#000000##FFFFFF
##19871D1.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)
#8A7904
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #19871d;
/* rgb */ color: rgb(25, 135, 29);
/* oklch */ color: oklch(54.4% 0.169 143.2);
Tailwind
colors: {
  custom: {
    50: '#6cab61',
    500: '#19871d',
    950: '#000000',
  },
}
SCSS
$custom: #19871d;
$custom-light: #6cab61;
$custom-dark: #000000;
JSON
{
  "hex": "#19871d",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 122.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54429,
    "c": 0.16948,
    "h": 143.2
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#19871D
secondary
#BA41B6
accent
#3CE5EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #19871D

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

Preview Lab → · Contrast checker → · Palette generator →

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