#1D3B03#1D3B03

#1D3B03 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.088 H 134.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1D3B03
RGBrgb(29, 59, 3)
HSLhsl(92, 90%, 12%)
HSVhsv(92, 95%, 23%)
CMYKcmyk(50.8%, 0%, 94.9%, 76.9%)
CIE-LABlab(21.56, -21.90, 28.14)
CIE-LCHlch(21.56, 35.66, 127.88°)
OKLaboklab(31.65% -0.0616 0.0628)
OKLCHoklch(31.65% 0.088 134.4)
XYZxyz(2.0871, 3.3956, 0.6316)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3B03 #21033B
analogous
#393B03 #1D3B03 #033B05
triadic
#1D3B03 #031D3B #3B031D
tetradic
#1D3B03 #03393B #21033B #3B0503
square
#1D3B03 #03393B #21033B #3B0503
split-complementary
#1D3B03 #05033B #3B0339
monochromatic
#0E1D01 #0E1D01 #1D3B03 #3A7506 #56AF09

Accessibility & contrast

On white

12.51
#1D3B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D3B03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3B03
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3B03#FFFFFF#000000##FFFFFF
##1D3B031.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3A3309
Tritanopia (blue-blind)
#1C3831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d3b03;
/* rgb */ color: rgb(29, 59, 3);
/* oklch */ color: oklch(31.7% 0.088 134.4);
Tailwind
colors: {
  custom: {
    50: '#5d7149',
    500: '#1d3b03',
    950: '#000000',
  },
}
SCSS
$custom: #1d3b03;
$custom-light: #5d7149;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3b03",
  "rgb": {
    "r": 29,
    "g": 59,
    "b": 3
  },
  "hsl": {
    "h": 92.143,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31654,
    "c": 0.08798,
    "h": 134.4
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#1D3B03
secondary
#501C7E
accent
#29FF9C
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D3B03

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

Preview Lab → · Contrast checker → · Palette generator →

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