#1D2F04#1D2F04

#1D2F04 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.9% C 0.069 H 129.9°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#1D2F04
RGBrgb(29, 47, 4)
HSLhsl(85, 84%, 10%)
HSVhsv(85, 91%, 18%)
CMYKcmyk(38.3%, 0%, 91.5%, 81.6%)
CIE-LABlab(17.00, -15.59, 22.48)
CIE-LCHlch(17.00, 27.36, 124.75°)
OKLaboklab(27.93% -0.0445 0.0533)
OKLCHoklch(27.93% 0.069 129.9)
XYZxyz(1.5451, 2.3030, 0.4779)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F04 #16042F
analogous
#2F2B04 #1D2F04 #082F04
triadic
#1D2F04 #041D2F #2F041D
tetradic
#1D2F04 #042F2B #16042F #2F0408
square
#1D2F04 #042F2B #16042F #2F0408
split-complementary
#1D2F04 #04082F #2B042F
monochromatic
#111C02 #111C02 #1D2F04 #406709 #63A00E

Accessibility & contrast

On white

14.38
#1D2F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1D2F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F04
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F04#FFFFFF#000000##FFFFFF
##1D2F041.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#1E2C27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d2f04;
/* rgb */ color: rgb(29, 47, 4);
/* oklch */ color: oklch(27.9% 0.069 129.9);
Tailwind
colors: {
  custom: {
    50: '#5b6749',
    500: '#1d2f04',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f04;
$custom-light: #5b6749;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f04",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 85.116,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27926,
    "c": 0.06944,
    "h": 129.9
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#1D2F04
secondary
#411D72
accent
#2DFB83
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040601
muted
#797A77

Preview Lab

Preview with #1D2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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