#1D901B#1D901B

#1D901B is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.0% C 0.180 H 142.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1D901B
RGBrgb(29, 144, 27)
HSLhsl(119, 68%, 34%)
HSVhsv(119, 81%, 56%)
CMYKcmyk(79.9%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.16, -52.53, 48.94)
CIE-LCHlch(52.16, 71.80, 137.03°)
OKLaboklab(57.04% -0.1427 0.1091)
OKLCHoklch(57.04% 0.18 142.6)
XYZxyz(10.6771, 20.2856, 4.3895)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D901B #8E1B90
analogous
#57901B #1D901B #1B9053
triadic
#1D901B #1B1D90 #901B1D
tetradic
#1D901B #1B5790 #8E1B90 #90531B
square
#1D901B #1B5790 #8E1B90 #90531B
split-complementary
#1D901B #531B90 #901B57
monochromatic
#082908 #135C11 #1D901B #27C425 #4BDD49

Accessibility & contrast

On white

4.15
#1D901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#1D901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D901B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D901B#FFFFFF#000000##000000
##1D901B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#008C7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1d901b;
/* rgb */ color: rgb(29, 144, 27);
/* oklch */ color: oklch(57.0% 0.180 142.6);
Tailwind
colors: {
  custom: {
    50: '#6fb262',
    500: '#1d901b',
    950: '#000000',
  },
}
SCSS
$custom: #1d901b;
$custom-light: #6fb262;
$custom-dark: #000000;
JSON
{
  "hex": "#1d901b",
  "rgb": {
    "r": 29,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 118.974,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57042,
    "c": 0.17958,
    "h": 142.6
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#1D901B
secondary
#BD48BF
accent
#3DEBE8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1D901B

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

Preview Lab → · Contrast checker → · Palette generator →

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