#1D7222#1D7222

#1D7222 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.140 H 143.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#1D7222
RGBrgb(29, 114, 34)
HSLhsl(124, 59%, 28%)
HSVhsv(124, 75%, 45%)
CMYKcmyk(74.6%, 0%, 70.2%, 55.3%)
CIE-LABlab(41.86, -41.71, 35.87)
CIE-LCHlch(41.86, 55.01, 139.30°)
OKLaboklab(48.5% -0.113 0.0827)
OKLCHoklch(48.5% 0.14 143.8)
XYZxyz(6.8123, 12.4106, 3.5495)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7222 #721D6D
analogous
#43721D #1D7222 #1D724C
triadic
#1D7222 #221D72 #72221D
tetradic
#1D7222 #1D4372 #721D6D #724C1D
square
#1D7222 #1D4372 #721D6D #724C1D
split-complementary
#1D7222 #4C1D72 #721D43
monochromatic
#061807 #114113 #1D7222 #29A331 #3CCD45

Accessibility & contrast

On white

6.03
#1D7222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#1D7222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7222
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7222#FFFFFF#000000##FFFFFF
##1D72221.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746717
Deuteranopia (green-blind)
#6B6029
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1d7222;
/* rgb */ color: rgb(29, 114, 34);
/* oklch */ color: oklch(48.5% 0.140 143.8);
Tailwind
colors: {
  custom: {
    50: '#679b61',
    500: '#1d7222',
    950: '#000000',
  },
}
SCSS
$custom: #1d7222;
$custom-light: #679b61;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7222",
  "rgb": {
    "r": 29,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 123.529,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48503,
    "c": 0.14001,
    "h": 143.8
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#1D7222
secondary
#A645A1
accent
#45D9E3
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1D7222

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

Preview Lab → · Contrast checker → · Palette generator →

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