#1B791A#1B791A

#1B791A is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.155 H 142.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1B791A
RGBrgb(27, 121, 26)
HSLhsl(119, 65%, 29%)
HSVhsv(119, 79%, 47%)
CMYKcmyk(77.7%, 0%, 78.5%, 52.5%)
CIE-LABlab(44.21, -45.29, 41.56)
CIE-LCHlch(44.21, 61.47, 137.46°)
OKLaboklab(50.42% -0.123 0.0935)
OKLCHoklch(50.42% 0.155 142.7)
XYZxyz(7.4754, 13.9815, 3.2818)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B791A #781A79
analogous
#4B791A #1B791A #1A7949
triadic
#1B791A #1A1B79 #791A1B
tetradic
#1B791A #1A4B79 #781A79 #79491A
square
#1B791A #1A4B79 #781A79 #79491A
split-complementary
#1B791A #491A79 #791A4B
monochromatic
#061905 #10470F #1B791A #26AB25 #3BD439

Accessibility & contrast

On white

5.53
#1B791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1B791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B791A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B791A#FFFFFF#000000##FFFFFF
##1B791A1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1b791a;
/* rgb */ color: rgb(27, 121, 26);
/* oklch */ color: oklch(50.4% 0.155 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a15e',
    500: '#1b791a',
    950: '#000000',
  },
}
SCSS
$custom: #1b791a;
$custom-light: #69a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b791a",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 119.368,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50418,
    "c": 0.15451,
    "h": 142.7
  },
  "luminance": 0.13982
}

Semantic roles & 50–950 ramp

primary
#1B791A
secondary
#AC41AD
accent
#40E8E6
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1B791A

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

Preview Lab → · Contrast checker → · Palette generator →

#1B791A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva