#1B9820#1B9820

#1B9820 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.186 H 143.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#1B9820
RGBrgb(27, 152, 32)
HSLhsl(122, 70%, 35%)
HSVhsv(122, 82%, 60%)
CMYKcmyk(82.2%, 0%, 78.9%, 40.4%)
CIE-LABlab(54.86, -55.01, 49.90)
CIE-LCHlch(54.86, 74.27, 137.78°)
OKLaboklab(59.29% -0.1491 0.1118)
OKLCHoklch(59.29% 0.186 143.1)
XYZxyz(11.9402, 22.7923, 5.1363)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B9820 #981B93
analogous
#54981B #1B9820 #1B985E
triadic
#1B9820 #201B98 #98201B
tetradic
#1B9820 #1B5498 #981B93 #985E1B
square
#1B9820 #1B5498 #981B93 #985E1B
split-complementary
#1B9820 #5E1B98 #981B54
monochromatic
#09300A #126415 #1B9820 #24CC2B #4EE054

Accessibility & contrast

On white

3.78
#1B9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#1B9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B9820
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B9820#FFFFFF#000000##000000
##1B98201.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1b9820;
/* rgb */ color: rgb(27, 152, 32);
/* oklch */ color: oklch(59.3% 0.186 143.1);
Tailwind
colors: {
  custom: {
    50: '#71b865',
    500: '#1b9820',
    950: '#000000',
  },
}
SCSS
$custom: #1b9820;
$custom-light: #71b865;
$custom-dark: #000000;
JSON
{
  "hex": "#1b9820",
  "rgb": {
    "r": 27,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 122.4,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59288,
    "c": 0.18634,
    "h": 143.1
  },
  "luminance": 0.22794
}

Semantic roles & 50–950 ramp

primary
#1B9820
secondary
#C24DBD
accent
#3BE6ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1B9820

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

Preview Lab → · Contrast checker → · Palette generator →

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