#1D971B#1D971B

#1D971B is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.0% C 0.187 H 142.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#1D971B
RGBrgb(29, 151, 27)
HSLhsl(119, 70%, 35%)
HSVhsv(119, 82%, 59%)
CMYKcmyk(80.8%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.52, -54.76, 51.17)
CIE-LCHlch(54.52, 74.95, 136.94°)
OKLaboklab(59.01% -0.1487 0.1137)
OKLCHoklch(59.01% 0.187 142.6)
XYZxyz(11.7704, 22.4721, 4.7539)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D971B #951B97
analogous
#5B971B #1D971B #1B9757
triadic
#1D971B #1B1D97 #971B1D
tetradic
#1D971B #1B5B97 #951B97 #97571B
square
#1D971B #1B5B97 #951B97 #97571B
split-complementary
#1D971B #571B97 #971B5B
monochromatic
#092F08 #136312 #1D971B #27CB24 #50DF4D

Accessibility & contrast

On white

3.82
#1D971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#1D971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D971B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D971B#FFFFFF#000000##000000
##1D971B1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1d971b;
/* rgb */ color: rgb(29, 151, 27);
/* oklch */ color: oklch(59.0% 0.187 142.6);
Tailwind
colors: {
  custom: {
    50: '#71b763',
    500: '#1d971b',
    950: '#000000',
  },
}
SCSS
$custom: #1d971b;
$custom-light: #71b763;
$custom-dark: #000000;
JSON
{
  "hex": "#1d971b",
  "rgb": {
    "r": 29,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 119.032,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59011,
    "c": 0.18721,
    "h": 142.6
  },
  "luminance": 0.22474
}

Semantic roles & 50–950 ramp

primary
#1D971B
secondary
#C04CC1
accent
#3BECEA
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1D971B

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

Preview Lab → · Contrast checker → · Palette generator →

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