#1D2902#1D2902

#1D2902 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.0% C 0.063 H 125.3°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#1D2902
RGBrgb(29, 41, 2)
HSLhsl(78, 91%, 8%)
HSVhsv(78, 95%, 16%)
CMYKcmyk(29.3%, 0%, 95.1%, 83.9%)
CIE-LABlab(14.69, -12.38, 20.38)
CIE-LCHlch(14.69, 23.84, 121.27°)
OKLaboklab(26.04% -0.0361 0.0511)
OKLCHoklch(26.04% 0.063 125.3)
XYZxyz(1.3106, 1.8515, 0.3457)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2902 #0E0229
analogous
#292102 #1D2902 #092902
triadic
#1D2902 #021D29 #29021D
tetradic
#1D2902 #022921 #0E0229 #290209
square
#1D2902 #022921 #0E0229 #290209
split-complementary
#1D2902 #020929 #210229
monochromatic
#151D01 #151D01 #1D2902 #466305 #709E08

Accessibility & contrast

On white

15.33
#1D2902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1D2902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2902
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2902#FFFFFF#000000##FFFFFF
##1D29021.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#2A2505
Tritanopia (blue-blind)
#1F2621
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d2902;
/* rgb */ color: rgb(29, 41, 2);
/* oklch */ color: oklch(26.0% 0.063 125.3);
Tailwind
colors: {
  custom: {
    50: '#5a6247',
    500: '#1d2902',
    950: '#000000',
  },
}
SCSS
$custom: #1d2902;
$custom-light: #5a6247;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2902",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 78.462,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26036,
    "c": 0.0626,
    "h": 125.3
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#1D2902
secondary
#33196E
accent
#29FF6B
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #1D2902

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

Preview Lab → · Contrast checker → · Palette generator →

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