#1D2502#1D2502

#1D2502 is a very dark, muted yellow-green. Relative luminance 0.016; OKLCH L 24.8% C 0.057 H 121.5°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#1D2502
RGBrgb(29, 37, 2)
HSLhsl(74, 90%, 8%)
HSVhsv(74, 95%, 15%)
CMYKcmyk(21.6%, 0%, 94.6%, 85.5%)
CIE-LABlab(13.16, -9.95, 18.37)
CIE-LCHlch(13.16, 20.89, 118.43°)
OKLaboklab(24.8% -0.0295 0.0483)
OKLCHoklch(24.8% 0.057 121.5)
XYZxyz(1.1792, 1.5887, 0.3020)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2502 #0A0225
analogous
#251B02 #1D2502 #0C2502
triadic
#1D2502 #021D25 #25021D
tetradic
#1D2502 #02251B #0A0225 #25020C
square
#1D2502 #02251B #0A0225 #25020C
split-complementary
#1D2502 #020C25 #1B0225
monochromatic
#171D02 #171D02 #1D2502 #4B5F05 #789908

Accessibility & contrast

On white

15.94
#1D2502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1D2502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2502
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2502#FFFFFF#000000##FFFFFF
##1D25021.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#272204
Tritanopia (blue-blind)
#1F221E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d2502;
/* rgb */ color: rgb(29, 37, 2);
/* oklch */ color: oklch(24.8% 0.057 121.5);
Tailwind
colors: {
  custom: {
    50: '#595f47',
    500: '#1d2502',
    950: '#000000',
  },
}
SCSS
$custom: #1d2502;
$custom-light: #595f47;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2502",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 73.714,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.24801,
    "c": 0.05658,
    "h": 121.5
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#1D2502
secondary
#2B186A
accent
#29FF5A
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1D2502

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

Preview Lab → · Contrast checker → · Palette generator →

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