#1D8F27#1D8F27

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

Color values

HEX#1D8F27
RGBrgb(29, 143, 39)
HSLhsl(125, 66%, 34%)
HSVhsv(125, 80%, 56%)
CMYKcmyk(79.7%, 0%, 72.7%, 43.9%)
CIE-LABlab(51.90, -51.26, 44.38)
CIE-LCHlch(51.90, 67.81, 139.12°)
OKLaboklab(56.85% -0.1387 0.1012)
OKLCHoklch(56.85% 0.172 143.9)
XYZxyz(10.6947, 20.0513, 5.2257)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8F27 #8F1D85
analogous
#4C8F1D #1D8F27 #1D8F60
triadic
#1D8F27 #271D8F #8F271D
tetradic
#1D8F27 #1D4C8F #8F1D85 #8F601D
square
#1D8F27 #1D4C8F #8F1D85 #8F601D
split-complementary
#1D8F27 #601D8F #8F1D4C
monochromatic
#08290B #135C19 #1D8F27 #27C235 #4CDB58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D8F27#FFFFFF#000000##000000
##1D8F271.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)
#928116
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1d8f27;
/* rgb */ color: rgb(29, 143, 39);
/* oklch */ color: oklch(56.8% 0.172 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fb167',
    500: '#1d8f27',
    950: '#000000',
  },
}
SCSS
$custom: #1d8f27;
$custom-light: #6fb167;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8f27",
  "rgb": {
    "r": 29,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 125.263,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.17168,
    "h": 143.9
  },
  "luminance": 0.20053
}

Semantic roles & 50–950 ramp

primary
#1D8F27
secondary
#BD4BB3
accent
#3FDAE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1D8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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