#38400D#38400D

#38400D is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.3% C 0.072 H 118.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#38400D
RGBrgb(56, 64, 13)
HSLhsl(69, 66%, 15%)
HSVhsv(69, 80%, 25%)
CMYKcmyk(12.5%, 0%, 79.7%, 74.9%)
CIE-LABlab(25.37, -11.40, 28.49)
CIE-LCHlch(25.37, 30.69, 111.80°)
OKLaboklab(35.28% -0.0339 0.0637)
OKLCHoklch(35.28% 0.072 118)
XYZxyz(3.5370, 4.5366, 1.0700)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38400D #150D40
analogous
#402F0D #38400D #1E400D
triadic
#38400D #0D3840 #400D38
tetradic
#38400D #0D402F #150D40 #400D1E
square
#38400D #0D402F #150D40 #400D1E
split-complementary
#38400D #0D1E40 #2F0D40
monochromatic
#161905 #161905 #38400D #657317 #91A622

Accessibility & contrast

On white

11.01
#38400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#38400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38400D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38400D#FFFFFF#000000##FFFFFF
##38400D1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C05
Deuteranopia (green-blind)
#443C11
Tritanopia (blue-blind)
#3C3C36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38400d;
/* rgb */ color: rgb(56, 64, 13);
/* oklch */ color: oklch(35.3% 0.072 118.0);
Tailwind
colors: {
  custom: {
    50: '#70744f',
    500: '#38400d',
    950: '#000000',
  },
}
SCSS
$custom: #38400d;
$custom-light: #70744f;
$custom-dark: #000000;
JSON
{
  "hex": "#38400d",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 69.412,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35275,
    "c": 0.07213,
    "h": 118
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#38400D
secondary
#3A2D7C
accent
#3FE959
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38400D

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

Preview Lab → · Contrast checker → · Palette generator →

#38400D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva