#1D7B18#1D7B18

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

Color values

HEX#1D7B18
RGBrgb(29, 123, 24)
HSLhsl(117, 67%, 29%)
HSVhsv(117, 80%, 48%)
CMYKcmyk(76.4%, 0%, 80.5%, 51.8%)
CIE-LABlab(44.93, -45.78, 43.00)
CIE-LCHlch(44.93, 62.80, 136.79°)
OKLaboklab(51.03% -0.1245 0.0962)
OKLCHoklch(51.03% 0.157 142.3)
XYZxyz(7.7541, 14.4922, 3.2526)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7B18 #76187B
analogous
#4F7B18 #1D7B18 #187B45
triadic
#1D7B18 #181D7B #7B181D
tetradic
#1D7B18 #184F7B #76187B #7B4518
square
#1D7B18 #184F7B #76187B #7B4518
split-complementary
#1D7B18 #45187B #7B184F
monochromatic
#061A05 #11480E #1D7B18 #29AE22 #3ED836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D7B18#FFFFFF#000000##FFFFFF
##1D7B181.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)
#736823
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1d7b18;
/* rgb */ color: rgb(29, 123, 24);
/* oklch */ color: oklch(51.0% 0.157 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa25d',
    500: '#1d7b18',
    950: '#000000',
  },
}
SCSS
$custom: #1d7b18;
$custom-light: #6aa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7b18",
  "rgb": {
    "r": 29,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 116.97,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.15737,
    "h": 142.3
  },
  "luminance": 0.14493
}

Semantic roles & 50–950 ramp

primary
#1D7B18
secondary
#AA3FB0
accent
#3EEAE2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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