#1D3003#1D3003

#1D3003 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.2% C 0.072 H 130.2°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#1D3003
RGBrgb(29, 48, 3)
HSLhsl(85, 88%, 10%)
HSVhsv(85, 94%, 19%)
CMYKcmyk(39.6%, 0%, 93.8%, 81.2%)
CIE-LABlab(17.37, -16.25, 23.34)
CIE-LCHlch(17.37, 28.44, 124.84°)
OKLaboklab(28.23% -0.0464 0.055)
OKLCHoklch(28.23% 0.072 130.2)
XYZxyz(1.5801, 2.3816, 0.4626)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3003 #160330
analogous
#302C03 #1D3003 #073003
triadic
#1D3003 #031D30 #30031D
tetradic
#1D3003 #03302C #160330 #300307
square
#1D3003 #03302C #160330 #300307
split-complementary
#1D3003 #030730 #2C0330
monochromatic
#111D02 #111D02 #1D3003 #406A07 #63A30A

Accessibility & contrast

On white

14.22
#1D3003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1D3003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3003
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3003#FFFFFF#000000##FFFFFF
##1D30031.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#302A07
Tritanopia (blue-blind)
#1E2D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d3003;
/* rgb */ color: rgb(29, 48, 3);
/* oklch */ color: oklch(28.2% 0.072 130.2);
Tailwind
colors: {
  custom: {
    50: '#5b6848',
    500: '#1d3003',
    950: '#000000',
  },
}
SCSS
$custom: #1d3003;
$custom-light: #5b6848;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3003",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 3
  },
  "hsl": {
    "h": 85.333,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.28226,
    "c": 0.072,
    "h": 130.2
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#1D3003
secondary
#411B73
accent
#29FE83
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1D3003

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

Preview Lab → · Contrast checker → · Palette generator →

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