#1D8F31#1D8F31

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

Color values

HEX#1D8F31
RGBrgb(29, 143, 49)
HSLhsl(131, 66%, 34%)
HSVhsv(131, 80%, 56%)
CMYKcmyk(79.7%, 0%, 65.7%, 43.9%)
CIE-LABlab(51.98, -50.22, 40.20)
CIE-LCHlch(51.98, 64.33, 141.33°)
OKLaboklab(56.95% -0.1354 0.0935)
OKLCHoklch(56.95% 0.165 145.4)
XYZxyz(10.8828, 20.1266, 6.2164)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8F31 #8F1D7B
analogous
#428F1D #1D8F31 #1D8F6A
triadic
#1D8F31 #311D8F #8F311D
tetradic
#1D8F31 #1D428F #8F1D7B #8F6A1D
square
#1D8F31 #1D428F #8F1D7B #8F6A1D
split-complementary
#1D8F31 #6A1D8F #8F1D42
monochromatic
#08290E #135C20 #1D8F31 #27C242 #4CDB65

Accessibility & contrast

On white

4.18
#1D8F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#1D8F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8F31
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8F31#FFFFFF#000000##000000
##1D8F311.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d8f31;
/* rgb */ color: rgb(29, 143, 49);
/* oklch */ color: oklch(56.9% 0.165 145.4);
Tailwind
colors: {
  custom: {
    50: '#6eb16d',
    500: '#1d8f31',
    950: '#000000',
  },
}
SCSS
$custom: #1d8f31;
$custom-light: #6eb16d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8f31",
  "rgb": {
    "r": 29,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 130.526,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56945,
    "c": 0.16459,
    "h": 145.4
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#1D8F31
secondary
#BD4BA9
accent
#3FCBE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #1D8F31

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

Preview Lab → · Contrast checker → · Palette generator →

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