#1D8B28#1D8B28

#1D8B28 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.166 H 144.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1D8B28
RGBrgb(29, 139, 40)
HSLhsl(126, 65%, 33%)
HSVhsv(126, 79%, 55%)
CMYKcmyk(79.1%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.54, -49.84, 42.56)
CIE-LCHlch(50.54, 65.53, 139.50°)
OKLaboklab(55.73% -0.1347 0.0975)
OKLCHoklch(55.73% 0.166 144.1)
XYZxyz(10.1216, 18.8785, 5.1175)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8B28 #8B1D80
analogous
#498B1D #1D8B28 #1D8B5F
triadic
#1D8B28 #281D8B #8B281D
tetradic
#1D8B28 #1D498B #8B1D80 #8B5F1D
square
#1D8B28 #1D498B #8B1D80 #8B5F1D
split-complementary
#1D8B28 #5F1D8B #8B1D49
monochromatic
#08260B #125819 #1D8B28 #28BE37 #49D958

Accessibility & contrast

On white

4.40
#1D8B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#1D8B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8B28
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8B28#FFFFFF#000000##000000
##1D8B281.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D19
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1d8b28;
/* rgb */ color: rgb(29, 139, 40);
/* oklch */ color: oklch(55.7% 0.166 144.1);
Tailwind
colors: {
  custom: {
    50: '#6dae68',
    500: '#1d8b28',
    950: '#000000',
  },
}
SCSS
$custom: #1d8b28;
$custom-light: #6dae68;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8b28",
  "rgb": {
    "r": 29,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 126,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55728,
    "c": 0.16632,
    "h": 144.1
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#1D8B28
secondary
#BB49B0
accent
#3FD8E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1D8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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