#1D8A1F#1D8A1F

#1D8A1F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.171 H 143.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1D8A1F
RGBrgb(29, 138, 31)
HSLhsl(121, 65%, 33%)
HSVhsv(121, 79%, 54%)
CMYKcmyk(79%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.14, -50.29, 45.64)
CIE-LCHlch(50.14, 67.91, 137.78°)
OKLaboklab(55.37% -0.1364 0.1027)
OKLCHoklch(55.37% 0.171 143)
XYZxyz(9.8419, 18.5359, 4.3552)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8A1F #8A1D88
analogous
#518A1D #1D8A1F #1D8A55
triadic
#1D8A1F #1F1D8A #8A1F1D
tetradic
#1D8A1F #1D518A #8A1D88 #8A551D
square
#1D8A1F #1D518A #8A1D88 #8A551D
split-complementary
#1D8A1F #551D8A #8A1D51
monochromatic
#082508 #125714 #1D8A1F #28BD2A #49D94B

Accessibility & contrast

On white

4.46
#1D8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1D8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8A1F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8A1F#FFFFFF#000000##000000
##1D8A1F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1d8a1f;
/* rgb */ color: rgb(29, 138, 31);
/* oklch */ color: oklch(55.4% 0.171 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ead63',
    500: '#1d8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #1d8a1f;
$custom-light: #6ead63;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8a1f",
  "rgb": {
    "r": 29,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 121.101,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.17077,
    "h": 143
  },
  "luminance": 0.18537
}

Semantic roles & 50–950 ramp

primary
#1D8A1F
secondary
#BB48B9
accent
#40E5E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1D8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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