#1D7D22#1D7D22

#1D7D22 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.154 H 143.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1D7D22
RGBrgb(29, 125, 34)
HSLhsl(123, 62%, 30%)
HSVhsv(123, 77%, 49%)
CMYKcmyk(76.8%, 0%, 72.8%, 51%)
CIE-LABlab(45.69, -45.63, 39.95)
CIE-LCHlch(45.69, 60.64, 138.80°)
OKLaboklab(51.68% -0.1236 0.0913)
OKLCHoklch(51.68% 0.154 143.6)
XYZxyz(8.1285, 15.0430, 3.9883)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D22 #7D1D78
analogous
#487D1D #1D7D22 #1D7D52
triadic
#1D7D22 #221D7D #7D221D
tetradic
#1D7D22 #1D487D #7D1D78 #7D521D
square
#1D7D22 #1D487D #7D1D78 #7D521D
split-complementary
#1D7D22 #521D7D #7D1D48
monochromatic
#061A07 #114B14 #1D7D22 #29AF30 #41D349

Accessibility & contrast

On white

5.24
#1D7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1D7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7D22
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7D22#FFFFFF#000000##FFFFFF
##1D7D221.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d22;
/* rgb */ color: rgb(29, 125, 34);
/* oklch */ color: oklch(51.7% 0.154 143.6);
Tailwind
colors: {
  custom: {
    50: '#6aa463',
    500: '#1d7d22',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d22;
$custom-light: #6aa463;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d22",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 123.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51683,
    "c": 0.15365,
    "h": 143.6
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#1D7D22
secondary
#B145AB
accent
#42DDE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1D7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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