#19771F#19771F

#19771F is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.150 H 143.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#19771F
RGBrgb(25, 119, 31)
HSLhsl(124, 65%, 28%)
HSVhsv(124, 79%, 47%)
CMYKcmyk(79%, 0%, 73.9%, 53.3%)
CIE-LABlab(43.50, -44.49, 38.88)
CIE-LCHlch(43.50, 59.09, 138.85°)
OKLaboklab(49.84% -0.1205 0.0887)
OKLCHoklch(49.84% 0.15 143.6)
XYZxyz(7.2446, 13.4984, 3.5197)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19771F #771971
analogous
#427719 #19771F #19774E
triadic
#19771F #1F1977 #771F19
tetradic
#19771F #194277 #771971 #774E19
square
#19771F #194277 #771971 #774E19
split-complementary
#19771F #4E1977 #771942
monochromatic
#051907 #0E4412 #19771F #24AA2C #36D540

Accessibility & contrast

On white

5.68
#19771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#19771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #19771F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19771F#FFFFFF#000000##FFFFFF
##19771F1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #19771f;
/* rgb */ color: rgb(25, 119, 31);
/* oklch */ color: oklch(49.8% 0.150 143.6);
Tailwind
colors: {
  custom: {
    50: '#679f60',
    500: '#19771f',
    950: '#000000',
  },
}
SCSS
$custom: #19771f;
$custom-light: #679f60;
$custom-dark: #000000;
JSON
{
  "hex": "#19771f",
  "rgb": {
    "r": 25,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 123.83,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.14958,
    "h": 143.6
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#19771F
secondary
#AC40A5
accent
#40DDE8
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #19771F

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

Preview Lab → · Contrast checker → · Palette generator →

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