#1B802E#1B802E

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

Color values

HEX#1B802E
RGBrgb(27, 128, 46)
HSLhsl(131, 65%, 30%)
HSVhsv(131, 79%, 50%)
CMYKcmyk(78.9%, 0%, 64.1%, 49.8%)
CIE-LABlab(46.80, -45.67, 35.76)
CIE-LCHlch(46.80, 58.00, 141.94°)
OKLaboklab(52.63% -0.1231 0.0838)
OKLCHoklch(52.63% 0.149 145.8)
XYZxyz(8.6637, 15.8676, 5.1904)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B802E #801B6D
analogous
#3A801B #1B802E #1B8060
triadic
#1B802E #2E1B80 #802E1B
tetradic
#1B802E #1B3A80 #801B6D #80601B
square
#1B802E #1B3A80 #801B6D #80601B
split-complementary
#1B802E #601B80 #801B3A
monochromatic
#061B0A #104D1C #1B802E #26B340 #3FD65B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B802E#FFFFFF#000000##FFFFFF
##1B802E1.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)
#827425
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1b802e;
/* rgb */ color: rgb(27, 128, 46);
/* oklch */ color: oklch(52.6% 0.149 145.8);
Tailwind
colors: {
  custom: {
    50: '#6aa66a',
    500: '#1b802e',
    950: '#000000',
  },
}
SCSS
$custom: #1b802e;
$custom-light: #6aa66a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b802e",
  "rgb": {
    "r": 27,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 131.287,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.14891,
    "h": 145.8
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#1B802E
secondary
#B4439F
accent
#40C8E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B802E

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

Preview Lab → · Contrast checker → · Palette generator →

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