#38370D#38370D

#38370D is a dark, moderate yellow. Relative luminance 0.036; OKLCH L 32.8% C 0.060 H 108.0°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#38370D
RGBrgb(56, 55, 13)
HSLhsl(59, 62%, 14%)
HSVhsv(59, 77%, 22%)
CMYKcmyk(0%, 1.8%, 76.8%, 78%)
CIE-LABlab(22.31, -5.90, 25.39)
CIE-LCHlch(22.31, 26.07, 103.08°)
OKLaboklab(32.82% -0.0185 0.0572)
OKLCHoklch(32.82% 0.06 108)
XYZxyz(3.0698, 3.6023, 0.9143)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38370D #0D0E38
analogous
#38210D #38370D #23380D
triadic
#38370D #0D3837 #370D38
tetradic
#38370D #0D3821 #0D0E38 #380D23
square
#38370D #0D3821 #0D0E38 #380D23
split-complementary
#38370D #0D2338 #210D38
monochromatic
#191806 #191806 #38370D #6A6819 #9B9924

Accessibility & contrast

On white

12.21
#38370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#38370D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38370D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38370D#FFFFFF#000000##FFFFFF
##38370D1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3407
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#3D332E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #38370d;
/* rgb */ color: rgb(56, 55, 13);
/* oklch */ color: oklch(32.8% 0.060 108.0);
Tailwind
colors: {
  custom: {
    50: '#706d4e',
    500: '#38370d',
    950: '#000000',
  },
}
SCSS
$custom: #38370d;
$custom-light: #706d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#38370d",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 58.605,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32823,
    "c": 0.06009,
    "h": 108
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#38370D
secondary
#2D2F73
accent
#46E542
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080702
muted
#7B7A78

Preview Lab

Preview with #38370D

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

Preview Lab → · Contrast checker → · Palette generator →

#38370D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva