#1D7215#1D7215

#1D7215 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.148 H 141.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1D7215
RGBrgb(29, 114, 21)
HSLhsl(115, 69%, 26%)
HSVhsv(115, 82%, 45%)
CMYKcmyk(74.6%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.77, -42.87, 40.97)
CIE-LCHlch(41.77, 59.30, 136.29°)
OKLaboklab(48.39% -0.1168 0.0916)
OKLCHoklch(48.39% 0.148 141.9)
XYZxyz(6.6590, 12.3492, 2.7420)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7215 #6A1572
analogous
#4C7215 #1D7215 #15723C
triadic
#1D7215 #151D72 #72151D
tetradic
#1D7215 #154C72 #6A1572 #723C15
square
#1D7215 #154C72 #6A1572 #723C15
split-complementary
#1D7215 #3C1572 #72154C
monochromatic
#071A05 #103E0B #1D7215 #2AA61F #39D82A

Accessibility & contrast

On white

6.05
#1D7215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1D7215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7215
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7215#FFFFFF#000000##FFFFFF
##1D72151.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#046E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1d7215;
/* rgb */ color: rgb(29, 114, 21);
/* oklch */ color: oklch(48.4% 0.148 141.9);
Tailwind
colors: {
  custom: {
    50: '#689b5b',
    500: '#1d7215',
    950: '#000000',
  },
}
SCSS
$custom: #1d7215;
$custom-light: #689b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7215",
  "rgb": {
    "r": 29,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 114.839,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48394,
    "c": 0.1484,
    "h": 141.9
  },
  "luminance": 0.1235
}

Semantic roles & 50–950 ramp

primary
#1D7215
secondary
#9F3BA8
accent
#3CECDD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1D7215

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

Preview Lab → · Contrast checker → · Palette generator →

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