#1D380B#1D380B

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

Color values

HEX#1D380B
RGBrgb(29, 56, 11)
HSLhsl(96, 67%, 13%)
HSVhsv(96, 80%, 22%)
CMYKcmyk(48.2%, 0%, 80.4%, 78%)
CIE-LABlab(20.49, -19.69, 23.70)
CIE-LCHlch(20.49, 30.82, 129.72°)
OKLaboklab(30.8% -0.0548 0.0542)
OKLCHoklch(30.8% 0.077 135.4)
XYZxyz(1.9812, 3.1136, 0.8131)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D380B #260B38
analogous
#33380B #1D380B #0B380F
triadic
#1D380B #0B1D38 #380B1D
tetradic
#1D380B #0B3338 #260B38 #380F0B
square
#1D380B #0B3338 #260B38 #380F0B
split-complementary
#1D380B #0F0B38 #380B33
monochromatic
#0D1A05 #0D1A05 #1D380B #376B15 #529E1F

Accessibility & contrast

On white

12.94
#1D380B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D380B
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D380B#FFFFFF#000000##FFFFFF
##1D380B1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d380b;
/* rgb */ color: rgb(29, 56, 11);
/* oklch */ color: oklch(30.8% 0.077 135.4);
Tailwind
colors: {
  custom: {
    50: '#5c6f4d',
    500: '#1d380b',
    950: '#000000',
  },
}
SCSS
$custom: #1d380b;
$custom-light: #5c6f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d380b",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 11
  },
  "hsl": {
    "h": 96,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30798,
    "c": 0.0771,
    "h": 135.4
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#1D380B
secondary
#572A75
accent
#3EEAA5
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1D380B

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

Preview Lab → · Contrast checker → · Palette generator →

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