#1D400A#1D400A

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

Color values

HEX#1D400A
RGBrgb(29, 64, 10)
HSLhsl(99, 73%, 15%)
HSVhsv(99, 84%, 25%)
CMYKcmyk(54.7%, 0%, 84.4%, 74.9%)
CIE-LABlab(23.50, -23.70, 27.32)
CIE-LCHlch(23.50, 36.16, 130.94°)
OKLaboklab(33.27% -0.0658 0.0613)
OKLCHoklch(33.27% 0.09 137)
XYZxyz(2.3948, 3.9498, 0.9233)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D400A #2D0A40
analogous
#38400A #1D400A #0A4012
triadic
#1D400A #0A1D40 #400A1D
tetradic
#1D400A #0A3840 #2D0A40 #40120A
square
#1D400A #0A3840 #2D0A40 #40120A
split-complementary
#1D400A #120A40 #400A38
monochromatic
#0C1A04 #0C1A04 #1D400A #357512 #4DAA1B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D400A#FFFFFF#000000##FFFFFF
##1D400A1.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)
#423A02
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#1B3D36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d400a;
/* rgb */ color: rgb(29, 64, 10);
/* oklch */ color: oklch(33.3% 0.090 137.0);
Tailwind
colors: {
  custom: {
    50: '#5d754d',
    500: '#1d400a',
    950: '#000000',
  },
}
SCSS
$custom: #1d400a;
$custom-light: #5d754d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d400a",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 98.889,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33267,
    "c": 0.08993,
    "h": 137
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#1D400A
secondary
#5F297D
accent
#38F0AF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1D400A

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

Preview Lab → · Contrast checker → · Palette generator →

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