#38320C#38320C

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

Color values

HEX#38320C
RGBrgb(56, 50, 12)
HSLhsl(52, 65%, 13%)
HSVhsv(52, 79%, 22%)
CMYKcmyk(0%, 10.7%, 78.6%, 78%)
CIE-LABlab(20.63, -2.77, 24.04)
CIE-LCHlch(20.63, 24.20, 96.57°)
OKLaboklab(31.48% -0.0098 0.0544)
OKLCHoklch(31.48% 0.055 100.2)
XYZxyz(2.8380, 3.1486, 0.8060)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38320C #0C1238
analogous
#381C0C #38320C #28380C
triadic
#38320C #0C3832 #320C38
tetradic
#38320C #0C381C #0C1238 #380C28
square
#38320C #0C381C #0C1238 #380C28
split-complementary
#38320C #0C2838 #1C0C38
monochromatic
#191605 #191605 #38320C #6A5F17 #9D8C22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38320C#FFFFFF#000000##FFFFFF
##38320C1.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)
#373007
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#3D2E2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #38320c;
/* rgb */ color: rgb(56, 50, 12);
/* oklch */ color: oklch(31.5% 0.055 100.2);
Tailwind
colors: {
  custom: {
    50: '#70694d',
    500: '#38320c',
    950: '#000000',
  },
}
SCSS
$custom: #38320c;
$custom-light: #70694d;
$custom-dark: #000000;
JSON
{
  "hex": "#38320c",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 12
  },
  "hsl": {
    "h": 51.818,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.05525,
    "h": 100.2
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#38320C
secondary
#2C3674
accent
#57E840
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #38320C

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

Preview Lab → · Contrast checker → · Palette generator →

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