#1D5231#1D5231

#1D5231 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.079 H 153.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#1D5231
RGBrgb(29, 82, 49)
HSLhsl(143, 48%, 22%)
HSVhsv(143, 65%, 32%)
CMYKcmyk(64.6%, 0%, 40.2%, 67.8%)
CIE-LABlab(30.68, -26.17, 14.29)
CIE-LCHlch(30.68, 29.82, 151.37°)
OKLaboklab(39.34% -0.0709 0.0357)
OKLCHoklch(39.34% 0.079 153.3)
XYZxyz(4.0780, 6.5172, 3.9482)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5231 #521D3E
analogous
#23521D #1D5231 #1D524C
triadic
#1D5231 #311D52 #52311D
tetradic
#1D5231 #1D2352 #521D3E #524C1D
square
#1D5231 #1D2352 #521D3E #524C1D
split-complementary
#1D5231 #4C1D52 #521D23
monochromatic
#08170E #0D2516 #1D5231 #2D7F4C #3DAC67

Accessibility & contrast

On white

9.12
#1D5231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1D5231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5231
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5231#FFFFFF#000000##FFFFFF
##1D52311.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#4B4633
Tritanopia (blue-blind)
#0B514A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d5231;
/* rgb */ color: rgb(29, 82, 49);
/* oklch */ color: oklch(39.3% 0.079 153.3);
Tailwind
colors: {
  custom: {
    50: '#5f8369',
    500: '#1d5231',
    950: '#000000',
  },
}
SCSS
$custom: #1d5231;
$custom-light: #5f8369;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5231",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 142.642,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39341,
    "c": 0.07944,
    "h": 153.3
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#1D5231
secondary
#87446E
accent
#50A4D7
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1D5231

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

Preview Lab → · Contrast checker → · Palette generator →

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