#38370F#38370F

#38370F is a dark, muted yellow. Relative luminance 0.036; OKLCH L 32.8% C 0.058 H 107.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#38370F
RGBrgb(56, 55, 15)
HSLhsl(59, 58%, 14%)
HSVhsv(59, 73%, 22%)
CMYKcmyk(0%, 1.8%, 73.2%, 78%)
CIE-LABlab(22.33, -5.75, 24.40)
CIE-LCHlch(22.33, 25.07, 103.26°)
OKLaboklab(32.85% -0.0178 0.0554)
OKLCHoklch(32.85% 0.058 107.9)
XYZxyz(3.0834, 3.6077, 0.9858)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38370F #0F1038
analogous
#38230F #38370F #25380F
triadic
#38370F #0F3837 #370F38
tetradic
#38370F #0F3823 #0F1038 #380F25
square
#38370F #0F3823 #0F1038 #380F25
split-complementary
#38370F #0F2538 #230F38
monochromatic
#181806 #181806 #38370F #68661C #999629

Accessibility & contrast

On white

12.20
#38370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38370F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38370F#FFFFFF#000000##FFFFFF
##38370F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350A
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#3C332F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #38370f;
/* rgb */ color: rgb(56, 55, 15);
/* oklch */ color: oklch(32.8% 0.058 107.9);
Tailwind
colors: {
  custom: {
    50: '#706d4f',
    500: '#38370f',
    950: '#000000',
  },
}
SCSS
$custom: #38370f;
$custom-light: #706d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#38370f",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 58.537,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32845,
    "c": 0.05823,
    "h": 107.9
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#38370F
secondary
#303272
accent
#4BE147
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080702
muted
#7B7A78

Preview Lab

Preview with #38370F

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

Preview Lab → · Contrast checker → · Palette generator →

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