#1D7F19#1D7F19

#1D7F19 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.161 H 142.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1D7F19
RGBrgb(29, 127, 25)
HSLhsl(118, 67%, 30%)
HSVhsv(118, 80%, 50%)
CMYKcmyk(77.2%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.32, -47.07, 44.00)
CIE-LCHlch(46.32, 64.43, 136.93°)
OKLaboklab(52.19% -0.128 0.0985)
OKLCHoklch(52.19% 0.161 142.4)
XYZxyz(8.2710, 15.5092, 3.4772)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7F19 #7B197F
analogous
#507F19 #1D7F19 #197F48
triadic
#1D7F19 #191D7F #7F191D
tetradic
#1D7F19 #19507F #7B197F #7F4819
square
#1D7F19 #19507F #7B197F #7F4819
split-complementary
#1D7F19 #48197F #7F1950
monochromatic
#061A05 #114C0F #1D7F19 #29B223 #40D83A

Accessibility & contrast

On white

5.12
#1D7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1D7F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7F19
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7F19#FFFFFF#000000##FFFFFF
##1D7F191.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d7f19;
/* rgb */ color: rgb(29, 127, 25);
/* oklch */ color: oklch(52.2% 0.161 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba55e',
    500: '#1d7f19',
    950: '#000000',
  },
}
SCSS
$custom: #1d7f19;
$custom-light: #6ba55e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7f19",
  "rgb": {
    "r": 29,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 117.647,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52187,
    "c": 0.16146,
    "h": 142.4
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

primary
#1D7F19
secondary
#AF41B3
accent
#3EEAE3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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