#1D981F#1D981F

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

Color values

HEX#1D981F
RGBrgb(29, 152, 31)
HSLhsl(121, 68%, 35%)
HSVhsv(121, 81%, 60%)
CMYKcmyk(80.9%, 0%, 79.6%, 40.4%)
CIE-LABlab(54.88, -54.82, 50.26)
CIE-LCHlch(54.88, 74.38, 137.48°)
OKLaboklab(59.32% -0.1487 0.1124)
OKLCHoklch(59.32% 0.186 142.9)
XYZxyz(11.9815, 22.8152, 5.0684)
Luminance0.2282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D981F #981D96
analogous
#58981D #1D981F #1D985D
triadic
#1D981F #1F1D98 #981F1D
tetradic
#1D981F #1D5898 #981D96 #985D1D
square
#1D981F #1D5898 #981D96 #985D1D
split-complementary
#1D981F #5D1D98 #981D58
monochromatic
#09310A #136515 #1D981F #27CB29 #52DE54

Accessibility & contrast

On white

3.77
#1D981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D981F#FFFFFF#000000##000000
##1D981F1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d981f;
/* rgb */ color: rgb(29, 152, 31);
/* oklch */ color: oklch(59.3% 0.186 142.9);
Tailwind
colors: {
  custom: {
    50: '#71b865',
    500: '#1d981f',
    950: '#000000',
  },
}
SCSS
$custom: #1d981f;
$custom-light: #71b865;
$custom-dark: #000000;
JSON
{
  "hex": "#1d981f",
  "rgb": {
    "r": 29,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 120.976,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.1864,
    "h": 142.9
  },
  "luminance": 0.22817
}

Semantic roles & 50–950 ramp

primary
#1D981F
secondary
#C150BF
accent
#3DE8EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1D981F

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

Preview Lab → · Contrast checker → · Palette generator →

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