#1D8A2B#1D8A2B

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

Color values

HEX#1D8A2B
RGBrgb(29, 138, 43)
HSLhsl(128, 65%, 33%)
HSVhsv(128, 79%, 54%)
CMYKcmyk(79%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.23, -49.19, 40.94)
CIE-LCHlch(50.23, 64.00, 140.23°)
OKLaboklab(55.47% -0.1329 0.0945)
OKLCHoklch(55.47% 0.163 144.6)
XYZxyz(10.0305, 18.6114, 5.3488)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8A2B #8A1D7C
analogous
#468A1D #1D8A2B #1D8A61
triadic
#1D8A2B #2B1D8A #8A2B1D
tetradic
#1D8A2B #1D468A #8A1D7C #8A611D
square
#1D8A2B #1D468A #8A1D7C #8A611D
split-complementary
#1D8A2B #611D8A #8A1D46
monochromatic
#08250B #12571B #1D8A2B #28BD3B #49D95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D8A2B#FFFFFF#000000##000000
##1D8A2B1.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)
#8D7D1E
Deuteranopia (green-blind)
#817434
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1d8a2b;
/* rgb */ color: rgb(29, 138, 43);
/* oklch */ color: oklch(55.5% 0.163 144.6);
Tailwind
colors: {
  custom: {
    50: '#6dad69',
    500: '#1d8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #1d8a2b;
$custom-light: #6dad69;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8a2b",
  "rgb": {
    "r": 29,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 127.706,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.16302,
    "h": 144.6
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#1D8A2B
secondary
#BB48AC
accent
#40D3E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1D8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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