#1D380E#1D380E

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

Color values

HEX#1D380E
RGBrgb(29, 56, 14)
HSLhsl(99, 60%, 14%)
HSVhsv(99, 75%, 22%)
CMYKcmyk(48.2%, 0%, 75%, 78%)
CIE-LABlab(20.52, -19.39, 22.33)
CIE-LCHlch(20.52, 29.57, 130.96°)
OKLaboklab(30.83% -0.0537 0.0515)
OKLCHoklch(30.83% 0.074 136.2)
XYZxyz(2.0001, 3.1212, 0.9124)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D380E #290E38
analogous
#32380E #1D380E #0E3814
triadic
#1D380E #0E1D38 #380E1D
tetradic
#1D380E #0E3238 #290E38 #38140E
square
#1D380E #0E3238 #290E38 #38140E
split-complementary
#1D380E #140E38 #380E32
monochromatic
#0D1806 #0D1806 #1D380E #36691A #509A26

Accessibility & contrast

On white

12.93
#1D380E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D380E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D380E#FFFFFF#000000##FFFFFF
##1D380E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3309
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#1C362F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d380e;
/* rgb */ color: rgb(29, 56, 14);
/* oklch */ color: oklch(30.8% 0.074 136.2);
Tailwind
colors: {
  custom: {
    50: '#5c6f4e',
    500: '#1d380e',
    950: '#000000',
  },
}
SCSS
$custom: #1d380e;
$custom-light: #5c6f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d380e",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 14
  },
  "hsl": {
    "h": 98.571,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30832,
    "c": 0.07446,
    "h": 136.2
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#1D380E
secondary
#5B2F73
accent
#45E3AB
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #1D380E

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

Preview Lab → · Contrast checker → · Palette generator →

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