#1B802D#1B802D

#1B802D is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.150 H 145.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1B802D
RGBrgb(27, 128, 45)
HSLhsl(131, 65%, 30%)
HSVhsv(131, 79%, 50%)
CMYKcmyk(78.9%, 0%, 64.8%, 49.8%)
CIE-LABlab(46.79, -45.79, 36.22)
CIE-LCHlch(46.79, 58.39, 141.66°)
OKLaboklab(52.61% -0.1235 0.0847)
OKLCHoklch(52.61% 0.15 145.6)
XYZxyz(8.6442, 15.8598, 5.0878)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B802D #801B6E
analogous
#3B801B #1B802D #1B805F
triadic
#1B802D #2D1B80 #802D1B
tetradic
#1B802D #1B3B80 #801B6E #805F1B
square
#1B802D #1B3B80 #801B6E #805F1B
split-complementary
#1B802D #5F1B80 #801B3B
monochromatic
#061B09 #104D1B #1B802D #26B33F #3FD65A

Accessibility & contrast

On white

5.03
#1B802D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1B802D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B802D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B802D#FFFFFF#000000##FFFFFF
##1B802D1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827423
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1b802d;
/* rgb */ color: rgb(27, 128, 45);
/* oklch */ color: oklch(52.6% 0.150 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aa669',
    500: '#1b802d',
    950: '#000000',
  },
}
SCSS
$custom: #1b802d;
$custom-light: #6aa669;
$custom-dark: #000000;
JSON
{
  "hex": "#1b802d",
  "rgb": {
    "r": 27,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 130.693,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.14972,
    "h": 145.6
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

primary
#1B802D
secondary
#B443A0
accent
#40CAE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B802D

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

Preview Lab → · Contrast checker → · Palette generator →

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