#1D8F2C#1D8F2C

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

Color values

HEX#1D8F2C
RGBrgb(29, 143, 44)
HSLhsl(128, 66%, 34%)
HSVhsv(128, 80%, 56%)
CMYKcmyk(79.7%, 0%, 69.2%, 43.9%)
CIE-LABlab(51.94, -50.77, 42.35)
CIE-LCHlch(51.94, 66.12, 140.17°)
OKLaboklab(56.89% -0.1371 0.0976)
OKLCHoklch(56.89% 0.168 144.6)
XYZxyz(10.7830, 20.0867, 5.6912)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8F2C #8F1D80
analogous
#478F1D #1D8F2C #1D8F65
triadic
#1D8F2C #2C1D8F #8F2C1D
tetradic
#1D8F2C #1D478F #8F1D80 #8F651D
square
#1D8F2C #1D478F #8F1D80 #8F651D
split-complementary
#1D8F2C #651D8F #8F1D47
monochromatic
#08290D #135C1C #1D8F2C #27C23C #4CDB5F

Accessibility & contrast

On white

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

On black

5.02
#1D8F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D8F2C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D8F2C#FFFFFF#000000##000000
##1D8F2C1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1d8f2c;
/* rgb */ color: rgb(29, 143, 44);
/* oklch */ color: oklch(56.9% 0.168 144.6);
Tailwind
colors: {
  custom: {
    50: '#6eb16a',
    500: '#1d8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #1d8f2c;
$custom-light: #6eb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8f2c",
  "rgb": {
    "r": 29,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 127.895,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.16829,
    "h": 144.6
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#1D8F2C
secondary
#BD4BAE
accent
#3FD3E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1D8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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