#1D9828#1D9828

#1D9828 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.4% C 0.181 H 143.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1D9828
RGBrgb(29, 152, 40)
HSLhsl(125, 68%, 35%)
HSVhsv(125, 81%, 60%)
CMYKcmyk(80.9%, 0%, 73.7%, 40.4%)
CIE-LABlab(54.94, -54.12, 47.13)
CIE-LCHlch(54.94, 71.76, 138.95°)
OKLaboklab(59.38% -0.1464 0.1071)
OKLCHoklch(59.38% 0.181 143.8)
XYZxyz(12.1171, 22.8694, 5.7827)
Luminance0.2287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D9828 #981D8D
analogous
#4F981D #1D9828 #1D9865
triadic
#1D9828 #281D98 #98281D
tetradic
#1D9828 #1D4F98 #981D8D #98651D
square
#1D9828 #1D4F98 #981D8D #98651D
split-complementary
#1D9828 #651D98 #981D4F
monochromatic
#09310D #13651A #1D9828 #27CB36 #52DE5E

Accessibility & contrast

On white

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

On black

5.57
#1D9828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D9828
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D9828#FFFFFF#000000##000000
##1D98281.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1d9828;
/* rgb */ color: rgb(29, 152, 40);
/* oklch */ color: oklch(59.4% 0.181 143.8);
Tailwind
colors: {
  custom: {
    50: '#71b769',
    500: '#1d9828',
    950: '#000000',
  },
}
SCSS
$custom: #1d9828;
$custom-light: #71b769;
$custom-dark: #000000;
JSON
{
  "hex": "#1d9828",
  "rgb": {
    "r": 29,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 125.366,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59379,
    "c": 0.18138,
    "h": 143.8
  },
  "luminance": 0.22871
}

Semantic roles & 50–950 ramp

primary
#1D9828
secondary
#C150B7
accent
#3DDBEB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1D9828

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

Preview Lab → · Contrast checker → · Palette generator →

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