#1D8F28#1D8F28

#1D8F28 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.171 H 144.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1D8F28
RGBrgb(29, 143, 40)
HSLhsl(126, 66%, 34%)
HSVhsv(126, 80%, 56%)
CMYKcmyk(79.7%, 0%, 72%, 43.9%)
CIE-LABlab(51.90, -51.17, 43.98)
CIE-LCHlch(51.90, 67.48, 139.32°)
OKLaboklab(56.86% -0.1384 0.1005)
OKLCHoklch(56.86% 0.171 144)
XYZxyz(10.7114, 20.0581, 5.3141)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8F28 #8F1D84
analogous
#4B8F1D #1D8F28 #1D8F61
triadic
#1D8F28 #281D8F #8F281D
tetradic
#1D8F28 #1D4B8F #8F1D84 #8F611D
square
#1D8F28 #1D4B8F #8F1D84 #8F611D
split-complementary
#1D8F28 #611D8F #8F1D4B
monochromatic
#08290C #135C1A #1D8F28 #27C236 #4CDB5A

Accessibility & contrast

On white

4.19
#1D8F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#1D8F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8F28
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8F28#FFFFFF#000000##000000
##1D8F281.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1d8f28;
/* rgb */ color: rgb(29, 143, 40);
/* oklch */ color: oklch(56.9% 0.171 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fb168',
    500: '#1d8f28',
    950: '#000000',
  },
}
SCSS
$custom: #1d8f28;
$custom-light: #6fb168;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8f28",
  "rgb": {
    "r": 29,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 125.789,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56856,
    "c": 0.17103,
    "h": 144
  },
  "luminance": 0.20059
}

Semantic roles & 50–950 ramp

primary
#1D8F28
secondary
#BD4BB2
accent
#3FD9E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1D8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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