#19872F#19872F

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

Color values

HEX#19872F
RGBrgb(25, 135, 47)
HSLhsl(132, 69%, 31%)
HSVhsv(132, 81%, 53%)
CMYKcmyk(81.5%, 0%, 65.2%, 47.1%)
CIE-LABlab(49.18, -48.27, 37.96)
CIE-LCHlch(49.18, 61.41, 141.82°)
OKLaboklab(54.59% -0.13 0.0886)
OKLCHoklch(54.59% 0.157 145.7)
XYZxyz(9.5773, 17.7387, 5.6079)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19872F #871971
analogous
#3A8719 #19872F #198766
triadic
#19872F #2F1987 #872F19
tetradic
#19872F #193A87 #871971 #876619
square
#19872F #193A87 #871971 #876619
split-complementary
#19872F #661987 #87193A
monochromatic
#06200B #0F531D #19872F #23BB41 #3FDB5E

Accessibility & contrast

On white

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

On black

4.55
#19872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##19872F#FFFFFF#000000##FFFFFF
##19872F1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7D7237
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #19872f;
/* rgb */ color: rgb(25, 135, 47);
/* oklch */ color: oklch(54.6% 0.157 145.7);
Tailwind
colors: {
  custom: {
    50: '#6bab6b',
    500: '#19872f',
    950: '#000000',
  },
}
SCSS
$custom: #19872f;
$custom-light: #6bab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#19872f",
  "rgb": {
    "r": 25,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 132,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.15735,
    "h": 145.7
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#19872F
secondary
#BA41A2
accent
#3CC9EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #19872F

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

Preview Lab → · Contrast checker → · Palette generator →

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