#1D3A03#1D3A03

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

Color values

HEX#1D3A03
RGBrgb(29, 58, 3)
HSLhsl(92, 90%, 12%)
HSVhsv(92, 95%, 23%)
CMYKcmyk(50%, 0%, 94.8%, 77.3%)
CIE-LABlab(21.18, -21.41, 27.73)
CIE-LCHlch(21.18, 35.04, 127.67°)
OKLaboklab(31.34% -0.0603 0.0621)
OKLCHoklch(31.34% 0.087 134.1)
XYZxyz(2.0361, 3.2938, 0.6146)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A03 #20033A
analogous
#393A03 #1D3A03 #033A04
triadic
#1D3A03 #031D3A #3A031D
tetradic
#1D3A03 #03393A #20033A #3A0403
square
#1D3A03 #03393A #20033A #3A0403
split-complementary
#1D3A03 #04033A #3A0339
monochromatic
#0F1D02 #0F1D02 #1D3A03 #3A7406 #57AE09

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D3A03#FFFFFF#000000##FFFFFF
##1D3A031.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)
#393208
Tritanopia (blue-blind)
#1D3730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d3a03;
/* rgb */ color: rgb(29, 58, 3);
/* oklch */ color: oklch(31.3% 0.087 134.1);
Tailwind
colors: {
  custom: {
    50: '#5c7049',
    500: '#1d3a03',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a03;
$custom-light: #5c7049;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a03",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 91.636,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31343,
    "c": 0.08657,
    "h": 134.1
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#1D3A03
secondary
#4F1C7D
accent
#29FF9A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3A03

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

Preview Lab → · Contrast checker → · Palette generator →

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