#1D520B#1D520B

#1D520B is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.114 H 139.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#1D520B
RGBrgb(29, 82, 11)
HSLhsl(105, 76%, 18%)
HSVhsv(105, 87%, 32%)
CMYKcmyk(64.6%, 0%, 86.6%, 67.8%)
CIE-LABlab(30.20, -31.49, 33.40)
CIE-LCHlch(30.20, 45.91, 133.31°)
OKLaboklab(38.79% -0.0867 0.0742)
OKLCHoklch(38.79% 0.114 139.4)
XYZxyz(3.5842, 6.3196, 1.3475)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D520B #400B52
analogous
#40520B #1D520B #0B521C
triadic
#1D520B #0B1D52 #520B1D
tetradic
#1D520B #0B4052 #400B52 #521C0B
square
#1D520B #0B4052 #400B52 #521C0B
split-complementary
#1D520B #1C0B52 #520B40
monochromatic
#0A1B04 #0A1C04 #1D520B #308812 #43BE19

Accessibility & contrast

On white

9.28
#1D520B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1D520B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D520B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D520B#FFFFFF#000000##FFFFFF
##1D520B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4E4513
Tritanopia (blue-blind)
#174F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d520b;
/* rgb */ color: rgb(29, 82, 11);
/* oklch */ color: oklch(38.8% 0.114 139.4);
Tailwind
colors: {
  custom: {
    50: '#618351',
    500: '#1d520b',
    950: '#000000',
  },
}
SCSS
$custom: #1d520b;
$custom-light: #618351;
$custom-dark: #000000;
JSON
{
  "hex": "#1d520b",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 104.789,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38794,
    "c": 0.11409,
    "h": 139.4
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#1D520B
secondary
#752B8E
accent
#35F3C3
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78

Preview Lab

Preview with #1D520B

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

Preview Lab → · Contrast checker → · Palette generator →

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