#1D7E1B#1D7E1B

#1D7E1B is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.159 H 142.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1D7E1B
RGBrgb(29, 126, 27)
HSLhsl(119, 65%, 30%)
HSVhsv(119, 79%, 49%)
CMYKcmyk(77%, 0%, 78.6%, 50.6%)
CIE-LABlab(45.99, -46.58, 42.97)
CIE-LCHlch(45.99, 63.37, 137.31°)
OKLaboklab(51.91% -0.1265 0.0966)
OKLCHoklch(51.91% 0.159 142.6)
XYZxyz(8.1649, 15.2611, 3.5521)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7E1B #7C1B7E
analogous
#4E7E1B #1D7E1B #1B7E4B
triadic
#1D7E1B #1B1D7E #7E1B1D
tetradic
#1D7E1B #1B4E7E #7C1B7E #7E4B1B
square
#1D7E1B #1B4E7E #7C1B7E #7E4B1B
split-complementary
#1D7E1B #4B1B7E #7E1B4E
monochromatic
#061905 #114C10 #1D7E1B #29B026 #41D63E

Accessibility & contrast

On white

5.18
#1D7E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1D7E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7E1B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7E1B#FFFFFF#000000##FFFFFF
##1D7E1B1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d7e1b;
/* rgb */ color: rgb(29, 126, 27);
/* oklch */ color: oklch(51.9% 0.159 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ba45f',
    500: '#1d7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #1d7e1b;
$custom-light: #6ba45f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7e1b",
  "rgb": {
    "r": 29,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 118.788,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.1592,
    "h": 142.6
  },
  "luminance": 0.15262
}

Semantic roles & 50–950 ramp

primary
#1D7E1B
secondary
#B043B2
accent
#40E8E4
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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