#38310E#38310E

#38310E is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.052 H 97.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#38310E
RGBrgb(56, 49, 14)
HSLhsl(50, 60%, 14%)
HSVhsv(50, 75%, 22%)
CMYKcmyk(0%, 12.5%, 75%, 78%)
CIE-LABlab(20.32, -1.97, 22.73)
CIE-LCHlch(20.32, 22.82, 94.94°)
OKLaboklab(31.24% -0.0072 0.0518)
OKLCHoklch(31.24% 0.052 97.9)
XYZxyz(2.8086, 3.0692, 0.8599)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38310E #0E1538
analogous
#381C0E #38310E #2A380E
triadic
#38310E #0E3831 #310E38
tetradic
#38310E #0E381C #0E1538 #380E2A
square
#38310E #0E381C #0E1538 #380E2A
split-complementary
#38310E #0E2A38 #1C0E38
monochromatic
#181506 #181506 #38310E #695C1A #9A8726

Accessibility & contrast

On white

13.01
#38310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#38310E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38310E
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38310E#FFFFFF#000000##FFFFFF
##38310E1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36300A
Deuteranopia (green-blind)
#383210
Tritanopia (blue-blind)
#3D2D2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #38310e;
/* rgb */ color: rgb(56, 49, 14);
/* oklch */ color: oklch(31.2% 0.052 97.9);
Tailwind
colors: {
  custom: {
    50: '#70684e',
    500: '#38310e',
    950: '#000000',
  },
}
SCSS
$custom: #38310e;
$custom-light: #70684e;
$custom-dark: #000000;
JSON
{
  "hex": "#38310e",
  "rgb": {
    "r": 56,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 50,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31243,
    "c": 0.05234,
    "h": 97.9
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#38310E
secondary
#2F3A73
accent
#5FE345
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #38310E

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

Preview Lab → · Contrast checker → · Palette generator →

#38310E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva