#1D2D04#1D2D04

#1D2D04 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.3% C 0.066 H 128.7°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#1D2D04
RGBrgb(29, 45, 4)
HSLhsl(83, 84%, 10%)
HSVhsv(83, 91%, 18%)
CMYKcmyk(35.6%, 0%, 91.1%, 82.4%)
CIE-LABlab(16.24, -14.47, 21.53)
CIE-LCHlch(16.24, 25.95, 123.90°)
OKLaboklab(27.3% -0.0415 0.0518)
OKLCHoklch(27.3% 0.066 128.7)
XYZxyz(1.4670, 2.1467, 0.4519)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D04 #14042D
analogous
#2D2904 #1D2D04 #082D04
triadic
#1D2D04 #041D2D #2D041D
tetradic
#1D2D04 #042D29 #14042D #2D0408
square
#1D2D04 #042D29 #14042D #2D0408
split-complementary
#1D2D04 #04082D #29042D
monochromatic
#121C02 #121C02 #1D2D04 #416509 #659D0E

Accessibility & contrast

On white

14.69
#1D2D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D04
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D04#FFFFFF#000000##FFFFFF
##1D2D041.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2E2807
Tritanopia (blue-blind)
#1E2A25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d2d04;
/* rgb */ color: rgb(29, 45, 4);
/* oklch */ color: oklch(27.3% 0.066 128.7);
Tailwind
colors: {
  custom: {
    50: '#5a6649',
    500: '#1d2d04',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d04;
$custom-light: #5a6649;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d04",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 83.415,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27304,
    "c": 0.06636,
    "h": 128.7
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#1D2D04
secondary
#3D1D70
accent
#2EFA7D
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1D2D04

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

Preview Lab → · Contrast checker → · Palette generator →

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