#1D8A28#1D8A28

#1D8A28 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.165 H 144.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1D8A28
RGBrgb(29, 138, 40)
HSLhsl(126, 65%, 33%)
HSVhsv(126, 79%, 54%)
CMYKcmyk(79%, 0%, 71%, 45.9%)
CIE-LABlab(50.20, -49.50, 42.20)
CIE-LCHlch(50.20, 65.04, 139.55°)
OKLaboklab(55.45% -0.1338 0.0967)
OKLCHoklch(55.45% 0.165 144.1)
XYZxyz(9.9775, 18.5902, 5.0695)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8A28 #8A1D7F
analogous
#488A1D #1D8A28 #1D8A5E
triadic
#1D8A28 #281D8A #8A281D
tetradic
#1D8A28 #1D488A #8A1D7F #8A5E1D
square
#1D8A28 #1D488A #8A1D7F #8A5E1D
split-complementary
#1D8A28 #5E1D8A #8A1D48
monochromatic
#08250B #125719 #1D8A28 #28BD37 #49D957

Accessibility & contrast

On white

4.45
#1D8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#1D8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8A28
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8A28#FFFFFF#000000##000000
##1D8A281.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1A
Deuteranopia (green-blind)
#817432
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1d8a28;
/* rgb */ color: rgb(29, 138, 40);
/* oklch */ color: oklch(55.4% 0.165 144.1);
Tailwind
colors: {
  custom: {
    50: '#6dad67',
    500: '#1d8a28',
    950: '#000000',
  },
}
SCSS
$custom: #1d8a28;
$custom-light: #6dad67;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8a28",
  "rgb": {
    "r": 29,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 126.055,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55445,
    "c": 0.16514,
    "h": 144.1
  },
  "luminance": 0.18591
}

Semantic roles & 50–950 ramp

primary
#1D8A28
secondary
#BB48AF
accent
#40D7E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1D8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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