#1D7D23#1D7D23

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

Color values

HEX#1D7D23
RGBrgb(29, 125, 35)
HSLhsl(124, 62%, 30%)
HSVhsv(124, 77%, 49%)
CMYKcmyk(76.8%, 0%, 72%, 51%)
CIE-LABlab(45.70, -45.53, 39.54)
CIE-LCHlch(45.70, 60.30, 139.03°)
OKLaboklab(51.69% -0.1233 0.0905)
OKLCHoklch(51.69% 0.153 143.7)
XYZxyz(8.1432, 15.0489, 4.0653)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7D23 #7D1D77
analogous
#477D1D #1D7D23 #1D7D53
triadic
#1D7D23 #231D7D #7D231D
tetradic
#1D7D23 #1D477D #7D1D77 #7D531D
square
#1D7D23 #1D477D #7D1D77 #7D531D
split-complementary
#1D7D23 #531D7D #7D1D47
monochromatic
#061A07 #114B15 #1D7D23 #29AF31 #41D34A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D7D23#FFFFFF#000000##FFFFFF
##1D7D231.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)
#807116
Deuteranopia (green-blind)
#75692C
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1d7d23;
/* rgb */ color: rgb(29, 125, 35);
/* oklch */ color: oklch(51.7% 0.153 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aa463',
    500: '#1d7d23',
    950: '#000000',
  },
}
SCSS
$custom: #1d7d23;
$custom-light: #6aa463;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7d23",
  "rgb": {
    "r": 29,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 123.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.15296,
    "h": 143.7
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#1D7D23
secondary
#B145AA
accent
#42DBE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1D7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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