#1D7E18#1D7E18

#1D7E18 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.161 H 142.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1D7E18
RGBrgb(29, 126, 24)
HSLhsl(117, 68%, 29%)
HSVhsv(117, 81%, 49%)
CMYKcmyk(77%, 0%, 81%, 50.6%)
CIE-LABlab(45.97, -46.80, 44.00)
CIE-LCHlch(45.97, 64.24, 136.77°)
OKLaboklab(51.89% -0.1273 0.0983)
OKLCHoklch(51.89% 0.161 142.3)
XYZxyz(8.1319, 15.2479, 3.3786)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7E18 #79187E
analogous
#507E18 #1D7E18 #187E46
triadic
#1D7E18 #181D7E #7E181D
tetradic
#1D7E18 #18507E #79187E #7E4618
square
#1D7E18 #18507E #79187E #7E4618
split-complementary
#1D7E18 #46187E #7E1850
monochromatic
#061A05 #114B0E #1D7E18 #29B122 #3FD937

Accessibility & contrast

On white

5.19
#1D7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1D7E18
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7E18#FFFFFF#000000##FFFFFF
##1D7E181.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d7e18;
/* rgb */ color: rgb(29, 126, 24);
/* oklch */ color: oklch(51.9% 0.161 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba45e',
    500: '#1d7e18',
    950: '#000000',
  },
}
SCSS
$custom: #1d7e18;
$custom-light: #6ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7e18",
  "rgb": {
    "r": 29,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 117.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.16083,
    "h": 142.3
  },
  "luminance": 0.15249
}

Semantic roles & 50–950 ramp

primary
#1D7E18
secondary
#AD3FB2
accent
#3DEBE2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1D7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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