#1B791E#1B791E

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

Color values

HEX#1B791E
RGBrgb(27, 121, 30)
HSLhsl(122, 64%, 29%)
HSVhsv(122, 78%, 47%)
CMYKcmyk(77.7%, 0%, 75.2%, 52.5%)
CIE-LABlab(44.23, -44.95, 40.06)
CIE-LCHlch(44.23, 60.21, 138.29°)
OKLaboklab(50.45% -0.1219 0.091)
OKLCHoklch(50.45% 0.152 143.3)
XYZxyz(7.5232, 14.0006, 3.5339)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B791E #791B76
analogous
#47791B #1B791E #1B794D
triadic
#1B791E #1E1B79 #791E1B
tetradic
#1B791E #1B4779 #791B76 #794D1B
square
#1B791E #1B4779 #791B76 #794D1B
split-complementary
#1B791E #4D1B79 #791B47
monochromatic
#061906 #104712 #1B791E #26AB2A #3BD340

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B791E#FFFFFF#000000##FFFFFF
##1B791E1.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)
#7C6D0E
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b791e;
/* rgb */ color: rgb(27, 121, 30);
/* oklch */ color: oklch(50.4% 0.152 143.3);
Tailwind
colors: {
  custom: {
    50: '#69a160',
    500: '#1b791e',
    950: '#000000',
  },
}
SCSS
$custom: #1b791e;
$custom-light: #69a160;
$custom-dark: #000000;
JSON
{
  "hex": "#1b791e",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 121.915,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.15206,
    "h": 143.3
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#1B791E
secondary
#AD43AA
accent
#41E1E7
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1B791E

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

Preview Lab → · Contrast checker → · Palette generator →

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