#1D8A21#1D8A21

#1D8A21 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.170 H 143.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1D8A21
RGBrgb(29, 138, 33)
HSLhsl(122, 65%, 33%)
HSVhsv(122, 79%, 54%)
CMYKcmyk(79%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.15, -50.13, 44.92)
CIE-LCHlch(50.15, 67.31, 138.14°)
OKLaboklab(55.39% -0.1359 0.1015)
OKLCHoklch(55.39% 0.17 143.2)
XYZxyz(9.8691, 18.5468, 4.4983)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8A21 #8A1D86
analogous
#4F8A1D #1D8A21 #1D8A58
triadic
#1D8A21 #211D8A #8A211D
tetradic
#1D8A21 #1D4F8A #8A1D86 #8A581D
square
#1D8A21 #1D4F8A #8A1D86 #8A581D
split-complementary
#1D8A21 #581D8A #8A1D4F
monochromatic
#082509 #125715 #1D8A21 #28BD2D #49D94E

Accessibility & contrast

On white

4.46
#1D8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1D8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8A21
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8A21#FFFFFF#000000##000000
##1D8A211.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1d8a21;
/* rgb */ color: rgb(29, 138, 33);
/* oklch */ color: oklch(55.4% 0.170 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ead64',
    500: '#1d8a21',
    950: '#000000',
  },
}
SCSS
$custom: #1d8a21;
$custom-light: #6ead64;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8a21",
  "rgb": {
    "r": 29,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 122.202,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55386,
    "c": 0.16962,
    "h": 143.2
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#1D8A21
secondary
#BB48B7
accent
#40E2E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1D8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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