#1D7229#1D7229

#1D7229 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.134 H 145.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#1D7229
RGBrgb(29, 114, 41)
HSLhsl(128, 59%, 28%)
HSVhsv(128, 75%, 45%)
CMYKcmyk(74.6%, 0%, 64%, 55.3%)
CIE-LABlab(41.93, -40.88, 32.65)
CIE-LCHlch(41.93, 52.32, 141.39°)
OKLaboklab(48.58% -0.1104 0.0766)
OKLCHoklch(48.58% 0.134 145.2)
XYZxyz(6.9238, 12.4552, 4.1366)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7229 #721D66
analogous
#3B721D #1D7229 #1D7254
triadic
#1D7229 #291D72 #72291D
tetradic
#1D7229 #1D3B72 #721D66 #72541D
square
#1D7229 #1D3B72 #721D66 #72541D
split-complementary
#1D7229 #541D72 #721D3B
monochromatic
#061809 #114117 #1D7229 #29A33B #3CCD51

Accessibility & contrast

On white

6.02
#1D7229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#1D7229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7229
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7229#FFFFFF#000000##FFFFFF
##1D72291.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#6A602F
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1d7229;
/* rgb */ color: rgb(29, 114, 41);
/* oklch */ color: oklch(48.6% 0.134 145.2);
Tailwind
colors: {
  custom: {
    50: '#679b66',
    500: '#1d7229',
    950: '#000000',
  },
}
SCSS
$custom: #1d7229;
$custom-light: #679b66;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7229",
  "rgb": {
    "r": 29,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 128.471,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.13438,
    "h": 145.2
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#1D7229
secondary
#A64598
accent
#45CCE3
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1D7229

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

Preview Lab → · Contrast checker → · Palette generator →

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