#1D7231#1D7231

#1D7231 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.127 H 147.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1D7231
RGBrgb(29, 114, 49)
HSLhsl(134, 59%, 28%)
HSVhsv(134, 75%, 45%)
CMYKcmyk(74.6%, 0%, 57%, 55.3%)
CIE-LABlab(42.03, -39.75, 28.67)
CIE-LCHlch(42.03, 49.02, 144.20°)
OKLaboklab(48.69% -0.1071 0.0687)
OKLCHoklch(48.69% 0.127 147.3)
XYZxyz(7.0779, 12.5168, 4.9481)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7231 #721D5E
analogous
#33721D #1D7231 #1D725B
triadic
#1D7231 #311D72 #72311D
tetradic
#1D7231 #1D3372 #721D5E #725B1D
square
#1D7231 #1D3372 #721D5E #725B1D
split-complementary
#1D7231 #5B1D72 #721D33
monochromatic
#06180A #11411C #1D7231 #29A346 #3CCD5E

Accessibility & contrast

On white

5.99
#1D7231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#1D7231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7231
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7231#FFFFFF#000000##FFFFFF
##1D72311.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1d7231;
/* rgb */ color: rgb(29, 114, 49);
/* oklch */ color: oklch(48.7% 0.127 147.3);
Tailwind
colors: {
  custom: {
    50: '#679b6b',
    500: '#1d7231',
    950: '#000000',
  },
}
SCSS
$custom: #1d7231;
$custom-light: #679b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7231",
  "rgb": {
    "r": 29,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 134.118,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.12721,
    "h": 147.3
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#1D7231
secondary
#A6458F
accent
#45BEE3
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1D7231

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

Preview Lab → · Contrast checker → · Palette generator →

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