#1D7B15#1D7B15

#1D7B15 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.159 H 142.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1D7B15
RGBrgb(29, 123, 21)
HSLhsl(115, 71%, 28%)
HSVhsv(115, 83%, 48%)
CMYKcmyk(76.4%, 0%, 82.9%, 51.8%)
CIE-LABlab(44.91, -45.98, 43.97)
CIE-LCHlch(44.91, 63.62, 136.28°)
OKLaboklab(51.01% -0.1252 0.0978)
OKLCHoklch(51.01% 0.159 142)
XYZxyz(7.7246, 14.4804, 3.0972)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7B15 #73157B
analogous
#507B15 #1D7B15 #157B40
triadic
#1D7B15 #151D7B #7B151D
tetradic
#1D7B15 #15507B #73157B #7B4015
square
#1D7B15 #15507B #73157B #7B4015
split-complementary
#1D7B15 #40157B #7B1550
monochromatic
#061A04 #11470C #1D7B15 #29AF1E #3CDB2F

Accessibility & contrast

On white

5.39
#1D7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1D7B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7B15
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7B15#FFFFFF#000000##FFFFFF
##1D7B151.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746722
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1d7b15;
/* rgb */ color: rgb(29, 123, 21);
/* oklch */ color: oklch(51.0% 0.159 142.0);
Tailwind
colors: {
  custom: {
    50: '#6aa25c',
    500: '#1d7b15',
    950: '#000000',
  },
}
SCSS
$custom: #1d7b15;
$custom-light: #6aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7b15",
  "rgb": {
    "r": 29,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 115.294,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.15889,
    "h": 142
  },
  "luminance": 0.14481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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