#19871E#19871E

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

Color values

HEX#19871E
RGBrgb(25, 135, 30)
HSLhsl(123, 69%, 31%)
HSVhsv(123, 81%, 53%)
CMYKcmyk(81.5%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.04, -49.96, 44.88)
CIE-LCHlch(49.04, 67.16, 138.06°)
OKLaboklab(54.44% -0.1354 0.1011)
OKLCHoklch(54.44% 0.169 143.3)
XYZxyz(9.2986, 17.6272, 4.1404)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19871E #871982
analogous
#4B8719 #19871E #198755
triadic
#19871E #1E1987 #871E19
tetradic
#19871E #194B87 #871982 #875519
square
#19871E #194B87 #871982 #875519
split-complementary
#19871E #551987 #87194B
monochromatic
#062007 #0F5313 #19871E #23BB29 #3FDB46

Accessibility & contrast

On white

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

On black

4.53
#19871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##19871E#FFFFFF#000000##FFFFFF
##19871E1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7906
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #19871e;
/* rgb */ color: rgb(25, 135, 30);
/* oklch */ color: oklch(54.4% 0.169 143.3);
Tailwind
colors: {
  custom: {
    50: '#6cab62',
    500: '#19871e',
    950: '#000000',
  },
}
SCSS
$custom: #19871e;
$custom-light: #6cab62;
$custom-dark: #000000;
JSON
{
  "hex": "#19871e",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 122.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.16893,
    "h": 143.3
  },
  "luminance": 0.17628
}

Semantic roles & 50–950 ramp

primary
#19871E
secondary
#BA41B5
accent
#3CE4EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #19871E

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

Preview Lab → · Contrast checker → · Palette generator →

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