#1D7B22#1D7B22

#1D7B22 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.151 H 143.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1D7B22
RGBrgb(29, 123, 34)
HSLhsl(123, 62%, 30%)
HSVhsv(123, 76%, 48%)
CMYKcmyk(76.4%, 0%, 72.4%, 51.8%)
CIE-LABlab(45.00, -44.93, 39.22)
CIE-LCHlch(45.00, 59.64, 138.88°)
OKLaboklab(51.11% -0.1217 0.0897)
OKLCHoklch(51.11% 0.151 143.6)
XYZxyz(7.8779, 14.5417, 3.9047)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7B22 #7B1D76
analogous
#477B1D #1D7B22 #1D7B51
triadic
#1D7B22 #221D7B #7B221D
tetradic
#1D7B22 #1D477B #7B1D76 #7B511D
square
#1D7B22 #1D477B #7B1D76 #7B511D
split-complementary
#1D7B22 #511D7B #7B1D47
monochromatic
#061907 #114914 #1D7B22 #29AD30 #40D248

Accessibility & contrast

On white

5.37
#1D7B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1D7B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7B22
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7B22#FFFFFF#000000##FFFFFF
##1D7B221.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1d7b22;
/* rgb */ color: rgb(29, 123, 34);
/* oklch */ color: oklch(51.1% 0.151 143.6);
Tailwind
colors: {
  custom: {
    50: '#6aa262',
    500: '#1d7b22',
    950: '#000000',
  },
}
SCSS
$custom: #1d7b22;
$custom-light: #6aa262;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7b22",
  "rgb": {
    "r": 29,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 123.191,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.15121,
    "h": 143.6
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#1D7B22
secondary
#AF45A9
accent
#43DCE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1D7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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