#1D7F22#1D7F22

#1D7F22 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.156 H 143.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1D7F22
RGBrgb(29, 127, 34)
HSLhsl(123, 63%, 31%)
HSVhsv(123, 77%, 50%)
CMYKcmyk(77.2%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.38, -46.32, 40.67)
CIE-LCHlch(46.38, 61.64, 138.72°)
OKLaboklab(52.26% -0.1255 0.0928)
OKLCHoklch(52.26% 0.156 143.5)
XYZxyz(8.3843, 15.5545, 4.0735)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7F22 #7F1D7A
analogous
#497F1D #1D7F22 #1D7F53
triadic
#1D7F22 #221D7F #7F221D
tetradic
#1D7F22 #1D497F #7F1D7A #7F531D
square
#1D7F22 #1D497F #7F1D7A #7F531D
split-complementary
#1D7F22 #531D7F #7F1D49
monochromatic
#061B07 #124D15 #1D7F22 #28B12F #42D44A

Accessibility & contrast

On white

5.11
#1D7F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1D7F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7F22
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7F22#FFFFFF#000000##FFFFFF
##1D7F221.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d7f22;
/* rgb */ color: rgb(29, 127, 34);
/* oklch */ color: oklch(52.3% 0.156 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ba563',
    500: '#1d7f22',
    950: '#000000',
  },
}
SCSS
$custom: #1d7f22;
$custom-light: #6ba563;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7f22",
  "rgb": {
    "r": 29,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 123.061,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.15607,
    "h": 143.5
  },
  "luminance": 0.15555
}

Semantic roles & 50–950 ramp

primary
#1D7F22
secondary
#B245AD
accent
#42DEE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #1D7F22

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

Preview Lab → · Contrast checker → · Palette generator →

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