#1B792C#1B792C

#1B792C is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.142 H 145.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#1B792C
RGBrgb(27, 121, 44)
HSLhsl(131, 64%, 29%)
HSVhsv(131, 78%, 47%)
CMYKcmyk(77.7%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.36, -43.42, 33.94)
CIE-LCHlch(44.36, 55.11, 141.98°)
OKLaboklab(50.6% -0.1171 0.0797)
OKLCHoklch(50.6% 0.142 145.8)
XYZxyz(7.7434, 14.0887, 4.6937)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B792C #791B68
analogous
#39791B #1B792C #1B795B
triadic
#1B792C #2C1B79 #792C1B
tetradic
#1B792C #1B3979 #791B68 #795B1B
square
#1B792C #1B3979 #791B68 #795B1B
split-complementary
#1B792C #5B1B79 #791B39
monochromatic
#061909 #10471A #1B792C #26AB3E #3BD357

Accessibility & contrast

On white

5.50
#1B792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#1B792C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B792C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B792C#FFFFFF#000000##FFFFFF
##1B792C1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D24
Deuteranopia (green-blind)
#706632
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b792c;
/* rgb */ color: rgb(27, 121, 44);
/* oklch */ color: oklch(50.6% 0.142 145.8);
Tailwind
colors: {
  custom: {
    50: '#68a168',
    500: '#1b792c',
    950: '#000000',
  },
}
SCSS
$custom: #1b792c;
$custom-light: #68a168;
$custom-dark: #000000;
JSON
{
  "hex": "#1b792c",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 130.851,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.14162,
    "h": 145.8
  },
  "luminance": 0.1409
}

Semantic roles & 50–950 ramp

primary
#1B792C
secondary
#AD439A
accent
#41C9E7
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B792C

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

Preview Lab → · Contrast checker → · Palette generator →

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