#1D502E#1D502E

#1D502E is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.079 H 151.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#1D502E
RGBrgb(29, 80, 46)
HSLhsl(140, 47%, 21%)
HSVhsv(140, 64%, 31%)
CMYKcmyk(63.7%, 0%, 42.5%, 68.6%)
CIE-LABlab(29.90, -25.86, 15.09)
CIE-LCHlch(29.90, 29.94, 149.74°)
OKLaboklab(38.68% -0.07 0.0376)
OKLCHoklch(38.68% 0.079 151.8)
XYZxyz(3.8682, 6.1954, 3.5762)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D502E #501D3F
analogous
#26501D #1D502E #1D5048
triadic
#1D502E #2E1D50 #502E1D
tetradic
#1D502E #1D2650 #501D3F #50481D
square
#1D502E #1D2650 #501D3F #50481D
split-complementary
#1D502E #481D50 #501D26
monochromatic
#08160D #0D2314 #1D502E #2D7D48 #3EAA62

Accessibility & contrast

On white

9.38
#1D502E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1D502E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D502E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D502E#FFFFFF#000000##FFFFFF
##1D502E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#494530
Tritanopia (blue-blind)
#0E4F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d502e;
/* rgb */ color: rgb(29, 80, 46);
/* oklch */ color: oklch(38.7% 0.079 151.8);
Tailwind
colors: {
  custom: {
    50: '#5f8167',
    500: '#1d502e',
    950: '#000000',
  },
}
SCSS
$custom: #1d502e;
$custom-light: #5f8167;
$custom-dark: #000000;
JSON
{
  "hex": "#1d502e",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 46
  },
  "hsl": {
    "h": 140,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.07949,
    "h": 151.8
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#1D502E
secondary
#85446F
accent
#51AAD6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1D502E

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

Preview Lab → · Contrast checker → · Palette generator →

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