#38320B#38320B

#38320B is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.5% C 0.056 H 100.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#38320B
RGBrgb(56, 50, 11)
HSLhsl(52, 67%, 13%)
HSVhsv(52, 80%, 22%)
CMYKcmyk(0%, 10.7%, 80.4%, 78%)
CIE-LABlab(20.62, -2.84, 24.47)
CIE-LCHlch(20.62, 24.64, 96.61°)
OKLaboklab(31.47% -0.0101 0.0552)
OKLCHoklch(31.47% 0.056 100.4)
XYZxyz(2.8320, 3.1462, 0.7747)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38320B #0B1138
analogous
#381B0B #38320B #27380B
triadic
#38320B #0B3832 #320B38
tetradic
#38320B #0B381B #0B1138 #380B27
square
#38320B #0B381B #0B1138 #380B27
split-complementary
#38320B #0B2738 #1B0B38
monochromatic
#1A1705 #1A1705 #38320B #6B6015 #9E8D1F

Accessibility & contrast

On white

12.89
#38320B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#38320B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38320B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38320B#FFFFFF#000000##FFFFFF
##38320B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383006
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#3D2E2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #38320b;
/* rgb */ color: rgb(56, 50, 11);
/* oklch */ color: oklch(31.5% 0.056 100.4);
Tailwind
colors: {
  custom: {
    50: '#70694d',
    500: '#38320b',
    950: '#000000',
  },
}
SCSS
$custom: #38320b;
$custom-light: #70694d;
$custom-dark: #000000;
JSON
{
  "hex": "#38320b",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 11
  },
  "hsl": {
    "h": 52,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31473,
    "c": 0.05613,
    "h": 100.4
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#38320B
secondary
#2A3475
accent
#55EA3E
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #38320B

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

Preview Lab → · Contrast checker → · Palette generator →

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