#1B792B#1B792B

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

Color values

HEX#1B792B
RGBrgb(27, 121, 43)
HSLhsl(130, 64%, 29%)
HSVhsv(130, 78%, 47%)
CMYKcmyk(77.7%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.35, -43.54, 34.41)
CIE-LCHlch(44.35, 55.50, 141.68°)
OKLaboklab(50.58% -0.1174 0.0806)
OKLCHoklch(50.58% 0.142 145.5)
XYZxyz(7.7249, 14.0813, 4.5959)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B792B #791B69
analogous
#3A791B #1B792B #1B795A
triadic
#1B792B #2B1B79 #792B1B
tetradic
#1B792B #1B3A79 #791B69 #795A1B
square
#1B792B #1B3A79 #791B69 #795A1B
split-complementary
#1B792B #5A1B79 #791B3A
monochromatic
#061909 #104719 #1B792B #26AB3D #3BD355

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B792B#FFFFFF#000000##FFFFFF
##1B792B1.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)
#7B6D22
Deuteranopia (green-blind)
#706632
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b792b;
/* rgb */ color: rgb(27, 121, 43);
/* oklch */ color: oklch(50.6% 0.142 145.5);
Tailwind
colors: {
  custom: {
    50: '#68a167',
    500: '#1b792b',
    950: '#000000',
  },
}
SCSS
$custom: #1b792b;
$custom-light: #68a167;
$custom-dark: #000000;
JSON
{
  "hex": "#1b792b",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 130.213,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50583,
    "c": 0.14245,
    "h": 145.5
  },
  "luminance": 0.14082
}

Semantic roles & 50–950 ramp

primary
#1B792B
secondary
#AD439B
accent
#41CAE7
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B792B

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

Preview Lab → · Contrast checker → · Palette generator →

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