#1B791C#1B791C

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

Color values

HEX#1B791C
RGBrgb(27, 121, 28)
HSLhsl(121, 64%, 29%)
HSVhsv(121, 78%, 47%)
CMYKcmyk(77.7%, 0%, 76.9%, 52.5%)
CIE-LABlab(44.22, -45.12, 40.82)
CIE-LCHlch(44.22, 60.85, 137.86°)
OKLaboklab(50.43% -0.1224 0.0923)
OKLCHoklch(50.43% 0.153 143)
XYZxyz(7.4985, 13.9907, 3.4037)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B791C #791B78
analogous
#49791B #1B791C #1B794B
triadic
#1B791C #1C1B79 #791C1B
tetradic
#1B791C #1B4979 #791B78 #794B1B
square
#1B791C #1B4979 #791B78 #794B1B
split-complementary
#1B791C #4B1B79 #791B49
monochromatic
#061906 #104710 #1B791C #26AB28 #3BD33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B791C#FFFFFF#000000##FFFFFF
##1B791C1.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)
#7C6D0A
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b791c;
/* rgb */ color: rgb(27, 121, 28);
/* oklch */ color: oklch(50.4% 0.153 143.0);
Tailwind
colors: {
  custom: {
    50: '#69a15f',
    500: '#1b791c',
    950: '#000000',
  },
}
SCSS
$custom: #1b791c;
$custom-light: #69a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b791c",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 120.638,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.15333,
    "h": 143
  },
  "luminance": 0.13992
}

Semantic roles & 50–950 ramp

primary
#1B791C
secondary
#AD43AC
accent
#41E5E7
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1B791C

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

Preview Lab → · Contrast checker → · Palette generator →

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