#1B802B#1B802B

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

Color values

HEX#1B802B
RGBrgb(27, 128, 43)
HSLhsl(130, 65%, 30%)
HSVhsv(130, 79%, 50%)
CMYKcmyk(78.9%, 0%, 66.4%, 49.8%)
CIE-LABlab(46.77, -46.03, 37.13)
CIE-LCHlch(46.77, 59.15, 141.11°)
OKLaboklab(52.59% -0.1242 0.0864)
OKLCHoklch(52.59% 0.151 145.2)
XYZxyz(8.6066, 15.8448, 4.8898)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B802B #801B70
analogous
#3D801B #1B802B #1B805D
triadic
#1B802B #2B1B80 #802B1B
tetradic
#1B802B #1B3D80 #801B70 #805D1B
square
#1B802B #1B3D80 #801B70 #805D1B
split-complementary
#1B802B #5D1B80 #801B3D
monochromatic
#061B09 #104D1A #1B802B #26B33C #3FD657

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B802B#FFFFFF#000000##FFFFFF
##1B802B1.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)
#827421
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1b802b;
/* rgb */ color: rgb(27, 128, 43);
/* oklch */ color: oklch(52.6% 0.151 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aa668',
    500: '#1b802b',
    950: '#000000',
  },
}
SCSS
$custom: #1b802b;
$custom-light: #6aa668;
$custom-dark: #000000;
JSON
{
  "hex": "#1b802b",
  "rgb": {
    "r": 27,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 129.505,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.15131,
    "h": 145.2
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#1B802B
secondary
#B443A2
accent
#40CDE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B802B

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

Preview Lab → · Contrast checker → · Palette generator →

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