#19871F#19871F

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

Color values

HEX#19871F
RGBrgb(25, 135, 31)
HSLhsl(123, 69%, 31%)
HSVhsv(123, 81%, 53%)
CMYKcmyk(81.5%, 0%, 77%, 47.1%)
CIE-LABlab(49.05, -49.88, 44.53)
CIE-LCHlch(49.05, 66.86, 138.24°)
OKLaboklab(54.44% -0.1351 0.1004)
OKLCHoklch(54.44% 0.168 143.4)
XYZxyz(9.3116, 17.6324, 4.2087)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19871F #871981
analogous
#4A8719 #19871F #198756
triadic
#19871F #1F1987 #871F19
tetradic
#19871F #194A87 #871981 #875619
square
#19871F #194A87 #871981 #875619
split-complementary
#19871F #561987 #87194A
monochromatic
#062007 #0F5313 #19871F #23BB2B #3FDB48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##19871F#FFFFFF#000000##FFFFFF
##19871F1.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)
#8A7A09
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #19871f;
/* rgb */ color: rgb(25, 135, 31);
/* oklch */ color: oklch(54.4% 0.168 143.4);
Tailwind
colors: {
  custom: {
    50: '#6cab62',
    500: '#19871f',
    950: '#000000',
  },
}
SCSS
$custom: #19871f;
$custom-light: #6cab62;
$custom-dark: #000000;
JSON
{
  "hex": "#19871f",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 123.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.16835,
    "h": 143.4
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#19871F
secondary
#BA41B4
accent
#3CE2EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #19871F

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

Preview Lab → · Contrast checker → · Palette generator →

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