#1B791D#1B791D

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

Color values

HEX#1B791D
RGBrgb(27, 121, 29)
HSLhsl(121, 64%, 29%)
HSVhsv(121, 78%, 47%)
CMYKcmyk(77.7%, 0%, 76%, 52.5%)
CIE-LABlab(44.23, -45.04, 40.44)
CIE-LCHlch(44.23, 60.53, 138.08°)
OKLaboklab(50.44% -0.1221 0.0916)
OKLCHoklch(50.44% 0.153 143.1)
XYZxyz(7.5107, 13.9956, 3.4678)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B791D #791B77
analogous
#48791B #1B791D #1B794C
triadic
#1B791D #1D1B79 #791D1B
tetradic
#1B791D #1B4879 #791B77 #794C1B
square
#1B791D #1B4879 #791B77 #794C1B
split-complementary
#1B791D #4C1B79 #791B48
monochromatic
#061906 #104711 #1B791D #26AB29 #3BD33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1b791d;
/* rgb */ color: rgb(27, 121, 29);
/* oklch */ color: oklch(50.4% 0.153 143.1);
Tailwind
colors: {
  custom: {
    50: '#69a15f',
    500: '#1b791d',
    950: '#000000',
  },
}
SCSS
$custom: #1b791d;
$custom-light: #69a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b791d",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 121.277,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.1527,
    "h": 143.1
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#1B791D
secondary
#AD43AB
accent
#41E3E7
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1B791D

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

Preview Lab → · Contrast checker → · Palette generator →

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