#1D7E22#1D7E22

#1D7E22 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.155 H 143.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1D7E22
RGBrgb(29, 126, 34)
HSLhsl(123, 63%, 30%)
HSVhsv(123, 77%, 49%)
CMYKcmyk(77%, 0%, 73%, 50.6%)
CIE-LABlab(46.04, -45.98, 40.31)
CIE-LCHlch(46.04, 61.14, 138.76°)
OKLaboklab(51.97% -0.1246 0.092)
OKLCHoklch(51.97% 0.155 143.5)
XYZxyz(8.2558, 15.2975, 4.0307)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7E22 #7E1D79
analogous
#487E1D #1D7E22 #1D7E52
triadic
#1D7E22 #221D7E #7E221D
tetradic
#1D7E22 #1D487E #7E1D79 #7E521D
square
#1D7E22 #1D487E #7E1D79 #7E521D
split-complementary
#1D7E22 #521D7E #7E1D48
monochromatic
#061B07 #124C15 #1D7E22 #28B02F #42D349

Accessibility & contrast

On white

5.17
#1D7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1D7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7E22
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7E22#FFFFFF#000000##FFFFFF
##1D7E221.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d7e22;
/* rgb */ color: rgb(29, 126, 34);
/* oklch */ color: oklch(52.0% 0.155 143.5);
Tailwind
colors: {
  custom: {
    50: '#6aa463',
    500: '#1d7e22',
    950: '#000000',
  },
}
SCSS
$custom: #1d7e22;
$custom-light: #6aa463;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7e22",
  "rgb": {
    "r": 29,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 123.093,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.15486,
    "h": 143.5
  },
  "luminance": 0.15298
}

Semantic roles & 50–950 ramp

primary
#1D7E22
secondary
#B145AC
accent
#42DDE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #1D7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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