#1D7C22#1D7C22

#1D7C22 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.152 H 143.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1D7C22
RGBrgb(29, 124, 34)
HSLhsl(123, 62%, 30%)
HSVhsv(123, 77%, 49%)
CMYKcmyk(76.6%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.35, -45.28, 39.58)
CIE-LCHlch(45.35, 60.14, 138.84°)
OKLaboklab(51.4% -0.1227 0.0905)
OKLCHoklch(51.4% 0.152 143.6)
XYZxyz(8.0026, 14.7911, 3.9463)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7C22 #7C1D77
analogous
#477C1D #1D7C22 #1D7C52
triadic
#1D7C22 #221D7C #7C221D
tetradic
#1D7C22 #1D477C #7C1D77 #7C521D
square
#1D7C22 #1D477C #7C1D77 #7C521D
split-complementary
#1D7C22 #521D7C #7C1D47
monochromatic
#061907 #114A14 #1D7C22 #29AE30 #41D349

Accessibility & contrast

On white

5.31
#1D7C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1D7C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7C22
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7C22#FFFFFF#000000##FFFFFF
##1D7C221.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#74682B
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1d7c22;
/* rgb */ color: rgb(29, 124, 34);
/* oklch */ color: oklch(51.4% 0.152 143.6);
Tailwind
colors: {
  custom: {
    50: '#6aa362',
    500: '#1d7c22',
    950: '#000000',
  },
}
SCSS
$custom: #1d7c22;
$custom-light: #6aa362;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7c22",
  "rgb": {
    "r": 29,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 123.158,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.15244,
    "h": 143.6
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#1D7C22
secondary
#B045AA
accent
#43DDE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1D7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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