#1D7040#1D7040

#1D7040 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.110 H 153.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#1D7040
RGBrgb(29, 112, 64)
HSLhsl(145, 59%, 28%)
HSVhsv(145, 74%, 44%)
CMYKcmyk(74.1%, 0%, 42.9%, 56.1%)
CIE-LABlab(41.56, -36.30, 19.79)
CIE-LCHlch(41.56, 41.34, 151.40°)
OKLaboklab(48.39% -0.0979 0.0491)
OKLCHoklch(48.39% 0.11 153.3)
XYZxyz(7.2256, 12.2189, 6.8272)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7040 #701D4D
analogous
#24701D #1D7040 #1D7069
triadic
#1D7040 #401D70 #70401D
tetradic
#1D7040 #1D2470 #701D4D #70691D
square
#1D7040 #1D2470 #701D4D #70691D
split-complementary
#1D7040 #691D70 #701D24
monochromatic
#06180E #103F24 #1D7040 #2AA15C #3BCC78

Accessibility & contrast

On white

6.10
#1D7040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#1D7040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7040
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7040#FFFFFF#000000##FFFFFF
##1D70401.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#665F43
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1d7040;
/* rgb */ color: rgb(29, 112, 64);
/* oklch */ color: oklch(48.4% 0.110 153.3);
Tailwind
colors: {
  custom: {
    50: '#669a75',
    500: '#1d7040',
    950: '#000000',
  },
}
SCSS
$custom: #1d7040;
$custom-light: #669a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7040",
  "rgb": {
    "r": 29,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 145.301,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48385,
    "c": 0.10953,
    "h": 153.3
  },
  "luminance": 0.1222
}

Semantic roles & 50–950 ramp

primary
#1D7040
secondary
#A4447C
accent
#46A0E2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1D7040

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

Preview Lab → · Contrast checker → · Palette generator →

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