#38320F#38320F

#38320F is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.5% C 0.052 H 99.6°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#38320F
RGBrgb(56, 50, 15)
HSLhsl(51, 58%, 14%)
HSVhsv(51, 73%, 22%)
CMYKcmyk(0%, 10.7%, 73.2%, 78%)
CIE-LABlab(20.66, -2.54, 22.60)
CIE-LCHlch(20.66, 22.74, 96.42°)
OKLaboklab(31.52% -0.0087 0.0516)
OKLCHoklch(31.52% 0.052 99.6)
XYZxyz(2.8578, 3.1566, 0.9106)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38320F #0F1538
analogous
#381E0F #38320F #2A380F
triadic
#38320F #0F3832 #320F38
tetradic
#38320F #0F381E #0F1538 #380F2A
square
#38320F #0F381E #0F1538 #380F2A
split-complementary
#38320F #0F2A38 #1E0F38
monochromatic
#181606 #181606 #38320F #685D1C #998829

Accessibility & contrast

On white

12.87
#38320F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38320F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38320F#FFFFFF#000000##FFFFFF
##38320F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300B
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#3D2E2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #38320f;
/* rgb */ color: rgb(56, 50, 15);
/* oklch */ color: oklch(31.5% 0.052 99.6);
Tailwind
colors: {
  custom: {
    50: '#70694f',
    500: '#38320f',
    950: '#000000',
  },
}
SCSS
$custom: #38320f;
$custom-light: #70694f;
$custom-dark: #000000;
JSON
{
  "hex": "#38320f",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 15
  },
  "hsl": {
    "h": 51.22,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31517,
    "c": 0.05237,
    "h": 99.6
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#38320F
secondary
#303A72
accent
#5DE147
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #38320F

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

Preview Lab → · Contrast checker → · Palette generator →

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