#1B792A#1B792A

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

Color values

HEX#1B792A
RGBrgb(27, 121, 42)
HSLhsl(130, 64%, 29%)
HSVhsv(130, 78%, 47%)
CMYKcmyk(77.7%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.34, -43.67, 34.88)
CIE-LCHlch(44.34, 55.89, 141.38°)
OKLaboklab(50.57% -0.1178 0.0815)
OKLCHoklch(50.57% 0.143 145.3)
XYZxyz(7.7067, 14.0740, 4.5004)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B792A #791B6A
analogous
#3B791B #1B792A #1B7959
triadic
#1B792A #2A1B79 #792A1B
tetradic
#1B792A #1B3B79 #791B6A #79591B
square
#1B792A #1B3B79 #791B6A #79591B
split-complementary
#1B792A #591B79 #791B3B
monochromatic
#061909 #104719 #1B792A #26AB3B #3BD353

Accessibility & contrast

On white

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

On black

3.81
#1B792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B792A#FFFFFF#000000##FFFFFF
##1B792A1.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D21
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b792a;
/* rgb */ color: rgb(27, 121, 42);
/* oklch */ color: oklch(50.6% 0.143 145.3);
Tailwind
colors: {
  custom: {
    50: '#68a167',
    500: '#1b792a',
    950: '#000000',
  },
}
SCSS
$custom: #1b792a;
$custom-light: #68a167;
$custom-dark: #000000;
JSON
{
  "hex": "#1b792a",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 129.574,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.14328,
    "h": 145.3
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#1B792A
secondary
#AD439C
accent
#41CCE7
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B792A

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

Preview Lab → · Contrast checker → · Palette generator →

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