#1D380A#1D380A

#1D380A is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.8% C 0.078 H 135.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#1D380A
RGBrgb(29, 56, 10)
HSLhsl(95, 70%, 13%)
HSVhsv(95, 82%, 22%)
CMYKcmyk(48.2%, 0%, 82.1%, 78%)
CIE-LABlab(20.48, -19.79, 24.11)
CIE-LCHlch(20.48, 31.19, 129.37°)
OKLaboklab(30.79% -0.0552 0.055)
OKLCHoklch(30.79% 0.078 135.1)
XYZxyz(1.9756, 3.1114, 0.7836)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D380A #250A38
analogous
#34380A #1D380A #0A380E
triadic
#1D380A #0A1D38 #380A1D
tetradic
#1D380A #0A3438 #250A38 #380E0A
square
#1D380A #0A3438 #250A38 #380E0A
split-complementary
#1D380A #0E0A38 #380A34
monochromatic
#0D1A05 #0D1A05 #1D380A #386C13 #53A01D

Accessibility & contrast

On white

12.95
#1D380A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D380A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D380A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D380A#FFFFFF#000000##FFFFFF
##1D380A1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3304
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#1C362F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d380a;
/* rgb */ color: rgb(29, 56, 10);
/* oklch */ color: oklch(30.8% 0.078 135.1);
Tailwind
colors: {
  custom: {
    50: '#5c6f4c',
    500: '#1d380a',
    950: '#000000',
  },
}
SCSS
$custom: #1d380a;
$custom-light: #5c6f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d380a",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 10
  },
  "hsl": {
    "h": 95.217,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30788,
    "c": 0.07791,
    "h": 135.1
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#1D380A
secondary
#562875
accent
#3BEDA3
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D380A

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

Preview Lab → · Contrast checker → · Palette generator →

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