#1B792F#1B792F

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

Color values

HEX#1B792F
RGBrgb(27, 121, 47)
HSLhsl(133, 64%, 29%)
HSVhsv(133, 78%, 47%)
CMYKcmyk(77.7%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.39, -43.02, 32.50)
CIE-LCHlch(44.39, 53.91, 142.93°)
OKLaboklab(50.63% -0.1159 0.0769)
OKLCHoklch(50.63% 0.139 146.4)
XYZxyz(7.8019, 14.1121, 5.0015)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B792F #791B65
analogous
#36791B #1B792F #1B795E
triadic
#1B792F #2F1B79 #792F1B
tetradic
#1B792F #1B3679 #791B65 #795E1B
square
#1B792F #1B3679 #791B65 #795E1B
split-complementary
#1B792F #5E1B79 #791B36
monochromatic
#06190A #10471C #1B792F #26AB42 #3BD35B

Accessibility & contrast

On white

5.49
#1B792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B792F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B792F#FFFFFF#000000##FFFFFF
##1B792F1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b792f;
/* rgb */ color: rgb(27, 121, 47);
/* oklch */ color: oklch(50.6% 0.139 146.4);
Tailwind
colors: {
  custom: {
    50: '#68a16a',
    500: '#1b792f',
    950: '#000000',
  },
}
SCSS
$custom: #1b792f;
$custom-light: #68a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b792f",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 132.766,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.13905,
    "h": 146.4
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#1B792F
secondary
#AD4397
accent
#41C3E7
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B792F

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

Preview Lab → · Contrast checker → · Palette generator →

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