#1D522D#1D522D

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

Color values

HEX#1D522D
RGBrgb(29, 82, 45)
HSLhsl(138, 48%, 22%)
HSVhsv(138, 65%, 32%)
CMYKcmyk(64.6%, 0%, 45.1%, 67.8%)
CIE-LABlab(30.60, -27.00, 16.62)
CIE-LCHlch(30.60, 31.71, 148.39°)
OKLaboklab(39.25% -0.073 0.0412)
OKLCHoklch(39.25% 0.084 150.6)
XYZxyz(3.9973, 6.4849, 3.5232)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D522D #521D42
analogous
#28521D #1D522D #1D5248
triadic
#1D522D #2D1D52 #522D1D
tetradic
#1D522D #1D2852 #521D42 #52481D
square
#1D522D #1D2852 #521D42 #52481D
split-complementary
#1D522D #481D52 #521D28
monochromatic
#08170C #0D2514 #1D522D #2D7F46 #3DAC5F

Accessibility & contrast

On white

9.14
#1D522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D522D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D522D#FFFFFF#000000##FFFFFF
##1D522D1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2A
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#0E5149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d522d;
/* rgb */ color: rgb(29, 82, 45);
/* oklch */ color: oklch(39.3% 0.084 150.6);
Tailwind
colors: {
  custom: {
    50: '#5f8366',
    500: '#1d522d',
    950: '#000000',
  },
}
SCSS
$custom: #1d522d;
$custom-light: #5f8366;
$custom-dark: #000000;
JSON
{
  "hex": "#1d522d",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 138.113,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39252,
    "c": 0.08384,
    "h": 150.6
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#1D522D
secondary
#874473
accent
#50AFD7
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1D522D

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

Preview Lab → · Contrast checker → · Palette generator →

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