#1D400B#1D400B

#1D400B is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.3% C 0.089 H 137.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#1D400B
RGBrgb(29, 64, 11)
HSLhsl(100, 71%, 15%)
HSVhsv(100, 83%, 25%)
CMYKcmyk(54.7%, 0%, 82.8%, 74.9%)
CIE-LABlab(23.51, -23.61, 26.91)
CIE-LCHlch(23.51, 35.80, 131.27°)
OKLaboklab(33.28% -0.0655 0.0606)
OKLCHoklch(33.28% 0.089 137.2)
XYZxyz(2.4004, 3.9520, 0.9529)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D400B #2E0B40
analogous
#38400B #1D400B #0B4014
triadic
#1D400B #0B1D40 #400B1D
tetradic
#1D400B #0B3840 #2E0B40 #40140B
square
#1D400B #0B3840 #2E0B40 #40140B
split-complementary
#1D400B #140B40 #400B38
monochromatic
#0C1A04 #0C1A04 #1D400B #357414 #4CA81D

Accessibility & contrast

On white

11.73
#1D400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D400B
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D400B#FFFFFF#000000##FFFFFF
##1D400B1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A03
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#1B3D36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d400b;
/* rgb */ color: rgb(29, 64, 11);
/* oklch */ color: oklch(33.3% 0.089 137.2);
Tailwind
colors: {
  custom: {
    50: '#5d754e',
    500: '#1d400b',
    950: '#000000',
  },
}
SCSS
$custom: #1d400b;
$custom-light: #5d754e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d400b",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 99.623,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33275,
    "c": 0.08924,
    "h": 137.2
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#1D400B
secondary
#612A7D
accent
#3AEDB1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1D400B

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

Preview Lab → · Contrast checker → · Palette generator →

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