#1D3F04#1D3F04

#1D3F04 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.9% C 0.093 H 135.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#1D3F04
RGBrgb(29, 63, 4)
HSLhsl(95, 88%, 13%)
HSVhsv(95, 94%, 25%)
CMYKcmyk(54%, 0%, 93.7%, 75.3%)
CIE-LABlab(23.08, -23.71, 29.33)
CIE-LCHlch(23.08, 37.72, 128.95°)
OKLaboklab(32.91% -0.0663 0.0649)
OKLCHoklch(32.91% 0.093 135.6)
XYZxyz(2.3061, 3.8248, 0.7316)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F04 #26043F
analogous
#3A3F04 #1D3F04 #043F08
triadic
#1D3F04 #041D3F #3F041D
tetradic
#1D3F04 #043A3F #26043F #3F0804
square
#1D3F04 #043A3F #26043F #3F0804
split-complementary
#1D3F04 #08043F #3F043A
monochromatic
#0D1D02 #0D1D02 #1D3F04 #377908 #52B20B

Accessibility & contrast

On white

11.90
#1D3F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D3F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F04
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F04#FFFFFF#000000##FFFFFF
##1D3F041.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#1C3C34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d3f04;
/* rgb */ color: rgb(29, 63, 4);
/* oklch */ color: oklch(32.9% 0.093 135.6);
Tailwind
colors: {
  custom: {
    50: '#5d744a',
    500: '#1d3f04',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f04;
$custom-light: #5d744a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f04",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 94.576,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32906,
    "c": 0.09279,
    "h": 135.6
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#1D3F04
secondary
#571E80
accent
#2AFEA4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D3F04

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

Preview Lab → · Contrast checker → · Palette generator →

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