#1D380F#1D380F

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

Color values

HEX#1D380F
RGBrgb(29, 56, 15)
HSLhsl(100, 58%, 14%)
HSVhsv(100, 73%, 22%)
CMYKcmyk(48.2%, 0%, 73.2%, 78%)
CIE-LABlab(20.53, -19.27, 21.83)
CIE-LCHlch(20.53, 29.12, 131.44°)
OKLaboklab(30.84% -0.0533 0.0506)
OKLCHoklch(30.84% 0.074 136.5)
XYZxyz(2.0070, 3.1239, 0.9491)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D380F #2A0F38
analogous
#32380F #1D380F #0F3816
triadic
#1D380F #0F1D38 #380F1D
tetradic
#1D380F #0F3238 #2A0F38 #38160F
square
#1D380F #0F3238 #2A0F38 #38160F
split-complementary
#1D380F #160F38 #380F32
monochromatic
#0C1806 #0C1806 #1D380F #36681C #4F9929

Accessibility & contrast

On white

12.92
#1D380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D380F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D380F#FFFFFF#000000##FFFFFF
##1D380F1.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d380f;
/* rgb */ color: rgb(29, 56, 15);
/* oklch */ color: oklch(30.8% 0.074 136.5);
Tailwind
colors: {
  custom: {
    50: '#5c6f4f',
    500: '#1d380f',
    950: '#000000',
  },
}
SCSS
$custom: #1d380f;
$custom-light: #5c6f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d380f",
  "rgb": {
    "r": 29,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 99.512,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30844,
    "c": 0.07351,
    "h": 136.5
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#1D380F
secondary
#5C3072
accent
#47E1AC
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #1D380F

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

Preview Lab → · Contrast checker → · Palette generator →

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