#1D2D08#1D2D08

#1D2D08 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.4% C 0.062 H 129.8°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#1D2D08
RGBrgb(29, 45, 8)
HSLhsl(86, 70%, 10%)
HSVhsv(86, 82%, 18%)
CMYKcmyk(35.6%, 0%, 82.2%, 82.4%)
CIE-LABlab(16.28, -14.04, 19.96)
CIE-LCHlch(16.28, 24.41, 125.13°)
OKLaboklab(27.35% -0.0398 0.0477)
OKLCHoklch(27.35% 0.062 129.8)
XYZxyz(1.4889, 2.1555, 0.5673)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D08 #18082D
analogous
#2D2A08 #1D2D08 #0A2D08
triadic
#1D2D08 #081D2D #2D081D
tetradic
#1D2D08 #082D2A #18082D #2D080A
square
#1D2D08 #082D2A #18082D #2D080A
split-complementary
#1D2D08 #080A2D #2A082D
monochromatic
#111A05 #111A05 #1D2D08 #3E6111 #60951A

Accessibility & contrast

On white

14.67
#1D2D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D2D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D08
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D08#FFFFFF#000000##FFFFFF
##1D2D081.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302904
Deuteranopia (green-blind)
#2D280B
Tritanopia (blue-blind)
#1E2B26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d2d08;
/* rgb */ color: rgb(29, 45, 8);
/* oklch */ color: oklch(27.4% 0.062 129.8);
Tailwind
colors: {
  custom: {
    50: '#5a664a',
    500: '#1d2d08',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d08;
$custom-light: #5a664a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d08",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 85.946,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27354,
    "c": 0.0621,
    "h": 129.8
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#1D2D08
secondary
#44256C
accent
#3BED88
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #1D2D08

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

Preview Lab → · Contrast checker → · Palette generator →

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