#1D3A04#1D3A04

#1D3A04 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.4% C 0.086 H 134.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1D3A04
RGBrgb(29, 58, 4)
HSLhsl(92, 87%, 12%)
HSVhsv(92, 93%, 23%)
CMYKcmyk(50%, 0%, 93.1%, 77.3%)
CIE-LABlab(21.19, -21.32, 27.34)
CIE-LCHlch(21.19, 34.67, 127.96°)
OKLaboklab(31.35% -0.0599 0.0613)
OKLCHoklch(31.35% 0.086 134.3)
XYZxyz(2.0416, 3.2960, 0.6434)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A04 #21043A
analogous
#383A04 #1D3A04 #043A06
triadic
#1D3A04 #041D3A #3A041D
tetradic
#1D3A04 #04383A #21043A #3A0604
square
#1D3A04 #04383A #21043A #3A0604
split-complementary
#1D3A04 #06043A #3A0438
monochromatic
#0E1D02 #0E1D02 #1D3A04 #3A7308 #56AD0C

Accessibility & contrast

On white

12.66
#1D3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A04
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A04#FFFFFF#000000##FFFFFF
##1D3A041.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3400
Deuteranopia (green-blind)
#393209
Tritanopia (blue-blind)
#1D3730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d3a04;
/* rgb */ color: rgb(29, 58, 4);
/* oklch */ color: oklch(31.4% 0.086 134.3);
Tailwind
colors: {
  custom: {
    50: '#5c704a',
    500: '#1d3a04',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a04;
$custom-light: #5c704a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a04",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 92.222,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31353,
    "c": 0.08575,
    "h": 134.3
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#1D3A04
secondary
#501E7C
accent
#2BFD9C
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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