#19781F#19781F

#19781F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.151 H 143.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#19781F
RGBrgb(25, 120, 31)
HSLhsl(124, 66%, 28%)
HSVhsv(124, 79%, 47%)
CMYKcmyk(79.2%, 0%, 74.2%, 52.9%)
CIE-LABlab(43.85, -44.84, 39.25)
CIE-LCHlch(43.85, 59.59, 138.80°)
OKLaboklab(50.13% -0.1214 0.0894)
OKLCHoklch(50.13% 0.151 143.6)
XYZxyz(7.3642, 13.7377, 3.5596)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19781F #781972
analogous
#427819 #19781F #19784E
triadic
#19781F #1F1978 #781F19
tetradic
#19781F #194278 #781972 #784E19
square
#19781F #194278 #781972 #784E19
split-complementary
#19781F #4E1978 #781942
monochromatic
#051907 #0E4512 #19781F #24AB2C #36D540

Accessibility & contrast

On white

5.60
#19781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#19781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #19781F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19781F#FFFFFF#000000##FFFFFF
##19781F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #19781f;
/* rgb */ color: rgb(25, 120, 31);
/* oklch */ color: oklch(50.1% 0.151 143.6);
Tailwind
colors: {
  custom: {
    50: '#68a060',
    500: '#19781f',
    950: '#000000',
  },
}
SCSS
$custom: #19781f;
$custom-light: #68a060;
$custom-dark: #000000;
JSON
{
  "hex": "#19781f",
  "rgb": {
    "r": 25,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 123.789,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50126,
    "c": 0.15079,
    "h": 143.6
  },
  "luminance": 0.13739
}

Semantic roles & 50–950 ramp

primary
#19781F
secondary
#AD40A6
accent
#3FDEE8
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #19781F

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

Preview Lab → · Contrast checker → · Palette generator →

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