#38370A#38370A

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

Color values

HEX#38370A
RGBrgb(56, 55, 10)
HSLhsl(59, 70%, 13%)
HSVhsv(59, 82%, 22%)
CMYKcmyk(0%, 1.8%, 82.1%, 78%)
CIE-LABlab(22.29, -6.10, 26.69)
CIE-LCHlch(22.29, 27.38, 102.87°)
OKLaboklab(32.8% -0.0195 0.0595)
OKLCHoklch(32.8% 0.063 108.1)
XYZxyz(3.0520, 3.5951, 0.8203)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38370A #0A0B38
analogous
#38200A #38370A #22380A
triadic
#38370A #0A3837 #370A38
tetradic
#38370A #0A3820 #0A0B38 #380A22
square
#38370A #0A3820 #0A0B38 #380A22
split-complementary
#38370A #0A2238 #200A38
monochromatic
#1A1A05 #1A1A05 #38370A #6C6A13 #A09D1D

Accessibility & contrast

On white

12.22
#38370A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38370A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38370A#FFFFFF#000000##FFFFFF
##38370A1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38370a;
/* rgb */ color: rgb(56, 55, 10);
/* oklch */ color: oklch(32.8% 0.063 108.1);
Tailwind
colors: {
  custom: {
    50: '#716d4d',
    500: '#38370a',
    950: '#000000',
  },
}
SCSS
$custom: #38370a;
$custom-light: #716d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#38370a",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 10
  },
  "hsl": {
    "h": 58.696,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32795,
    "c": 0.0626,
    "h": 108.1
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#38370A
secondary
#282A75
accent
#3FED3B
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #38370A

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

Preview Lab → · Contrast checker → · Palette generator →

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