#1B791B#1B791B

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

Color values

HEX#1B791B
RGBrgb(27, 121, 27)
HSLhsl(120, 64%, 29%)
HSVhsv(120, 78%, 47%)
CMYKcmyk(77.7%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.21, -45.21, 41.20)
CIE-LCHlch(44.21, 61.16, 137.66°)
OKLaboklab(50.43% -0.1227 0.0929)
OKLCHoklch(50.43% 0.154 142.9)
XYZxyz(7.4867, 13.9860, 3.3417)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B791B #791B79
analogous
#4A791B #1B791B #1B794A
triadic
#1B791B #1B1B79 #791B1B
tetradic
#1B791B #1B4A79 #791B79 #794A1B
square
#1B791B #1B4A79 #791B79 #794A1B
split-complementary
#1B791B #4A1B79 #791B4A
monochromatic
#061906 #104710 #1B791B #26AB26 #3BD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B791B#FFFFFF#000000##FFFFFF
##1B791B1.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)
#7C6D08
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b791b;
/* rgb */ color: rgb(27, 121, 27);
/* oklch */ color: oklch(50.4% 0.154 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a15e',
    500: '#1b791b',
    950: '#000000',
  },
}
SCSS
$custom: #1b791b;
$custom-light: #69a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b791b",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.15392,
    "h": 142.9
  },
  "luminance": 0.13987
}

Semantic roles & 50–950 ramp

primary
#1B791B
secondary
#AD43AD
accent
#41E7E7
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1B791B

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

Preview Lab → · Contrast checker → · Palette generator →

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