#1D8F38#1D8F38

#1D8F38 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.159 H 146.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1D8F38
RGBrgb(29, 143, 56)
HSLhsl(134, 66%, 34%)
HSVhsv(134, 80%, 56%)
CMYKcmyk(79.7%, 0%, 60.8%, 43.9%)
CIE-LABlab(52.05, -49.35, 37.00)
CIE-LCHlch(52.05, 61.68, 143.14°)
OKLaboklab(57.03% -0.1328 0.0874)
OKLCHoklch(57.03% 0.159 146.7)
XYZxyz(11.0421, 20.1903, 7.0558)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8F38 #8F1D74
analogous
#3B8F1D #1D8F38 #1D8F71
triadic
#1D8F38 #381D8F #8F381D
tetradic
#1D8F38 #1D3B8F #8F1D74 #8F711D
square
#1D8F38 #1D3B8F #8F1D74 #8F711D
split-complementary
#1D8F38 #711D8F #8F1D3B
monochromatic
#082910 #135C24 #1D8F38 #27C24C #4CDB6E

Accessibility & contrast

On white

4.17
#1D8F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#1D8F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8F38
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8F38#FFFFFF#000000##000000
##1D8F381.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812F
Deuteranopia (green-blind)
#84793F
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1d8f38;
/* rgb */ color: rgb(29, 143, 56);
/* oklch */ color: oklch(57.0% 0.159 146.7);
Tailwind
colors: {
  custom: {
    50: '#6eb171',
    500: '#1d8f38',
    950: '#000000',
  },
}
SCSS
$custom: #1d8f38;
$custom-light: #6eb171;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8f38",
  "rgb": {
    "r": 29,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 134.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.15897,
    "h": 146.7
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#1D8F38
secondary
#BD4BA2
accent
#3FC1E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #1D8F38

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

Preview Lab → · Contrast checker → · Palette generator →

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