#1B802A#1B802A

#1B802A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.152 H 145.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1B802A
RGBrgb(27, 128, 42)
HSLhsl(129, 65%, 30%)
HSVhsv(129, 79%, 50%)
CMYKcmyk(78.9%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.76, -46.15, 37.58)
CIE-LCHlch(46.76, 59.52, 140.84°)
OKLaboklab(52.58% -0.1246 0.0873)
OKLCHoklch(52.58% 0.152 145)
XYZxyz(8.5885, 15.8375, 4.7943)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B802A #801B71
analogous
#3E801B #1B802A #1B805C
triadic
#1B802A #2A1B80 #802A1B
tetradic
#1B802A #1B3E80 #801B71 #805C1B
square
#1B802A #1B3E80 #801B71 #805C1B
split-complementary
#1B802A #5C1B80 #801B3E
monochromatic
#061B09 #104D19 #1B802A #26B33B #3FD655

Accessibility & contrast

On white

5.04
#1B802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B802A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B802A#FFFFFF#000000##FFFFFF
##1B802A1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741F
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1b802a;
/* rgb */ color: rgb(27, 128, 42);
/* oklch */ color: oklch(52.6% 0.152 145.0);
Tailwind
colors: {
  custom: {
    50: '#6aa668',
    500: '#1b802a',
    950: '#000000',
  },
}
SCSS
$custom: #1b802a;
$custom-light: #6aa668;
$custom-dark: #000000;
JSON
{
  "hex": "#1b802a",
  "rgb": {
    "r": 27,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 128.911,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.15208,
    "h": 145
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#1B802A
secondary
#B443A3
accent
#40CFE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B802A

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

Preview Lab → · Contrast checker → · Palette generator →

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