#19811F#19811F

#19811F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.161 H 143.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#19811F
RGBrgb(25, 129, 31)
HSLhsl(123, 68%, 30%)
HSVhsv(123, 81%, 51%)
CMYKcmyk(80.6%, 0%, 76%, 49.4%)
CIE-LABlab(46.98, -47.89, 42.45)
CIE-LCHlch(46.98, 64.00, 138.45°)
OKLaboklab(52.73% -0.1297 0.0961)
OKLCHoklch(52.73% 0.161 143.5)
XYZxyz(8.4979, 16.0051, 3.9375)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19811F #81197B
analogous
#478119 #19811F #198153
triadic
#19811F #1F1981 #811F19
tetradic
#19811F #194781 #81197B #815319
square
#19811F #194781 #81197B #815319
split-complementary
#19811F #531981 #811947
monochromatic
#051A06 #0F4E13 #19811F #23B42B #3BD944

Accessibility & contrast

On white

5.00
#19811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#19811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #19811F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19811F#FFFFFF#000000##FFFFFF
##19811F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #19811f;
/* rgb */ color: rgb(25, 129, 31);
/* oklch */ color: oklch(52.7% 0.161 143.5);
Tailwind
colors: {
  custom: {
    50: '#6aa761',
    500: '#19811f',
    950: '#000000',
  },
}
SCSS
$custom: #19811f;
$custom-light: #6aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#19811f",
  "rgb": {
    "r": 25,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 123.462,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.16144,
    "h": 143.5
  },
  "luminance": 0.16006
}

Semantic roles & 50–950 ramp

primary
#19811F
secondary
#B541AE
accent
#3DE0EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #19811F

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

Preview Lab → · Contrast checker → · Palette generator →

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