#1B981D#1B981D

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

Color values

HEX#1B981D
RGBrgb(27, 152, 29)
HSLhsl(121, 70%, 35%)
HSVhsv(121, 82%, 60%)
CMYKcmyk(82.2%, 0%, 80.9%, 40.4%)
CIE-LABlab(54.84, -55.21, 50.85)
CIE-LCHlch(54.84, 75.06, 137.35°)
OKLaboklab(59.27% -0.1498 0.1133)
OKLCHoklch(59.27% 0.188 142.9)
XYZxyz(11.9012, 22.7767, 4.9313)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B981D #981B96
analogous
#57981B #1B981D #1B985B
triadic
#1B981D #1D1B98 #981D1B
tetradic
#1B981D #1B5798 #981B96 #985B1B
square
#1B981D #1B5798 #981B96 #985B1B
split-complementary
#1B981D #5B1B98 #981B57
monochromatic
#093009 #126413 #1B981D #24CC27 #4EE050

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B981D#FFFFFF#000000##000000
##1B981D1.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)
#8E802C
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1b981d;
/* rgb */ color: rgb(27, 152, 29);
/* oklch */ color: oklch(59.3% 0.188 142.9);
Tailwind
colors: {
  custom: {
    50: '#71b864',
    500: '#1b981d',
    950: '#000000',
  },
}
SCSS
$custom: #1b981d;
$custom-light: #71b864;
$custom-dark: #000000;
JSON
{
  "hex": "#1b981d",
  "rgb": {
    "r": 27,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 120.96,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.18781,
    "h": 142.9
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

primary
#1B981D
secondary
#C24DC0
accent
#3BEAED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1B981D

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

Preview Lab → · Contrast checker → · Palette generator →

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