#1D8520#1D8520

#1D8520 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.164 H 143.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1D8520
RGBrgb(29, 133, 32)
HSLhsl(122, 64%, 32%)
HSVhsv(122, 78%, 52%)
CMYKcmyk(78.2%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.44, -48.55, 43.56)
CIE-LCHlch(48.44, 65.23, 138.10°)
OKLaboklab(53.96% -0.1316 0.0986)
OKLCHoklch(53.96% 0.164 143.2)
XYZxyz(9.1544, 17.1395, 4.1920)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8520 #851D82
analogous
#4E851D #1D8520 #1D8554
triadic
#1D8520 #201D85 #85201D
tetradic
#1D8520 #1D4E85 #851D82 #85541D
square
#1D8520 #1D4E85 #851D82 #85541D
split-complementary
#1D8520 #541D85 #851D4E
monochromatic
#072108 #125314 #1D8520 #28B72C #46D74A

Accessibility & contrast

On white

4.74
#1D8520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1D8520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D8520
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8520#FFFFFF#000000##FFFFFF
##1D85201.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1d8520;
/* rgb */ color: rgb(29, 133, 32);
/* oklch */ color: oklch(54.0% 0.164 143.2);
Tailwind
colors: {
  custom: {
    50: '#6caa63',
    500: '#1d8520',
    950: '#000000',
  },
}
SCSS
$custom: #1d8520;
$custom-light: #6caa63;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8520",
  "rgb": {
    "r": 29,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 121.731,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.16443,
    "h": 143.2
  },
  "luminance": 0.17141
}

Semantic roles & 50–950 ramp

primary
#1D8520
secondary
#B846B5
accent
#41E2E7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1D8520

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

Preview Lab → · Contrast checker → · Palette generator →

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