#38400B#38400B

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

Color values

HEX#38400B
RGBrgb(56, 64, 11)
HSLhsl(69, 71%, 15%)
HSVhsv(69, 83%, 25%)
CMYKcmyk(12.5%, 0%, 82.8%, 74.9%)
CIE-LABlab(25.36, -11.52, 29.34)
CIE-LCHlch(25.36, 31.52, 111.44°)
OKLaboklab(35.26% -0.0345 0.0651)
OKLCHoklch(35.26% 0.074 117.9)
XYZxyz(3.5248, 4.5317, 1.0056)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38400B #130B40
analogous
#402E0B #38400B #1D400B
triadic
#38400B #0B3840 #400B38
tetradic
#38400B #0B402E #130B40 #400B1D
square
#38400B #0B402E #130B40 #400B1D
split-complementary
#38400B #0B1D40 #2E0B40
monochromatic
#171A04 #171A04 #38400B #667414 #93A81D

Accessibility & contrast

On white

11.02
#38400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38400B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38400B#FFFFFF#000000##FFFFFF
##38400B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38400b;
/* rgb */ color: rgb(56, 64, 11);
/* oklch */ color: oklch(35.3% 0.074 117.9);
Tailwind
colors: {
  custom: {
    50: '#71744e',
    500: '#38400b',
    950: '#000000',
  },
}
SCSS
$custom: #38400b;
$custom-light: #71744e;
$custom-dark: #000000;
JSON
{
  "hex": "#38400b",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 69.057,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35258,
    "c": 0.07363,
    "h": 117.9
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#38400B
secondary
#372A7D
accent
#3AED55
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38400B

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

Preview Lab → · Contrast checker → · Palette generator →

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