#1D7C15#1D7C15

#1D7C15 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.160 H 142.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1D7C15
RGBrgb(29, 124, 21)
HSLhsl(115, 71%, 28%)
HSVhsv(115, 83%, 49%)
CMYKcmyk(76.6%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.26, -46.32, 44.30)
CIE-LCHlch(45.26, 64.10, 136.28°)
OKLaboklab(51.3% -0.1261 0.0985)
OKLCHoklch(51.3% 0.16 142)
XYZxyz(7.8492, 14.7298, 3.1388)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7C15 #74157C
analogous
#507C15 #1D7C15 #157C40
triadic
#1D7C15 #151D7C #7C151D
tetradic
#1D7C15 #15507C #74157C #7C4015
square
#1D7C15 #15507C #74157C #7C4015
split-complementary
#1D7C15 #40157C #7C1550
monochromatic
#061A04 #11480C #1D7C15 #29B01E #3DDC30

Accessibility & contrast

On white

5.32
#1D7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1D7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7C15
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7C15#FFFFFF#000000##FFFFFF
##1D7C151.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#756822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1d7c15;
/* rgb */ color: rgb(29, 124, 21);
/* oklch */ color: oklch(51.3% 0.160 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ba35c',
    500: '#1d7c15',
    950: '#000000',
  },
}
SCSS
$custom: #1d7c15;
$custom-light: #6ba35c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7c15",
  "rgb": {
    "r": 29,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 115.34,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.16004,
    "h": 142
  },
  "luminance": 0.14731
}

Semantic roles & 50–950 ramp

primary
#1D7C15
secondary
#A83CB1
accent
#3AEEE0
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1D7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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