#1D7018#1D7018

#1D7018 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.144 H 142.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#1D7018
RGBrgb(29, 112, 24)
HSLhsl(117, 65%, 27%)
HSVhsv(117, 79%, 44%)
CMYKcmyk(74.1%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.08, -41.93, 39.22)
CIE-LCHlch(41.08, 57.41, 136.91°)
OKLaboklab(47.83% -0.1141 0.0884)
OKLCHoklch(47.83% 0.144 142.2)
XYZxyz(6.4654, 11.9148, 2.8230)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7018 #6B1870
analogous
#497018 #1D7018 #18703F
triadic
#1D7018 #181D70 #70181D
tetradic
#1D7018 #184970 #6B1870 #703F18
square
#1D7018 #184970 #6B1870 #703F18
split-complementary
#1D7018 #3F1870 #701849
monochromatic
#071905 #103E0D #1D7018 #2AA223 #39D330

Accessibility & contrast

On white

6.21
#1D7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#1D7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7018
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7018#FFFFFF#000000##FFFFFF
##1D70181.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#046C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1d7018;
/* rgb */ color: rgb(29, 112, 24);
/* oklch */ color: oklch(47.8% 0.144 142.2);
Tailwind
colors: {
  custom: {
    50: '#679a5c',
    500: '#1d7018',
    950: '#000000',
  },
}
SCSS
$custom: #1d7018;
$custom-light: #679a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7018",
  "rgb": {
    "r": 29,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 116.591,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.14431,
    "h": 142.2
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#1D7018
secondary
#A03EA5
accent
#40E8DE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1D7018

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

Preview Lab → · Contrast checker → · Palette generator →

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