#1D7240#1D7240

#1D7240 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.0% C 0.112 H 152.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#1D7240
RGBrgb(29, 114, 64)
HSLhsl(145, 59%, 28%)
HSVhsv(145, 75%, 45%)
CMYKcmyk(74.6%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.25, -37.13, 20.70)
CIE-LCHlch(42.25, 42.51, 150.86°)
OKLaboklab(48.96% -0.1001 0.0513)
OKLCHoklch(48.96% 0.112 152.9)
XYZxyz(7.4488, 12.6652, 6.9015)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7240 #721D4F
analogous
#24721D #1D7240 #1D726A
triadic
#1D7240 #401D72 #72401D
tetradic
#1D7240 #1D2472 #721D4F #726A1D
square
#1D7240 #1D2472 #721D4F #726A1D
split-complementary
#1D7240 #6A1D72 #721D24
monochromatic
#06180E #114125 #1D7240 #29A35B #3CCD78

Accessibility & contrast

On white

5.94
#1D7240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#1D7240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7240
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7240#FFFFFF#000000##FFFFFF
##1D72401.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1d7240;
/* rgb */ color: rgb(29, 114, 64);
/* oklch */ color: oklch(49.0% 0.112 152.9);
Tailwind
colors: {
  custom: {
    50: '#669b75',
    500: '#1d7240',
    950: '#000000',
  },
}
SCSS
$custom: #1d7240;
$custom-light: #669b75;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7240",
  "rgb": {
    "r": 29,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 144.706,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.11243,
    "h": 152.9
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#1D7240
secondary
#A6457E
accent
#45A2E3
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1D7240

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

Preview Lab → · Contrast checker → · Palette generator →

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