#38340B#38340B

#38340B is a dark, muted yellow. Relative luminance 0.033; OKLCH L 32.0% C 0.058 H 103.7°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#38340B
RGBrgb(56, 52, 11)
HSLhsl(55, 67%, 13%)
HSVhsv(55, 80%, 22%)
CMYKcmyk(0%, 7.1%, 80.4%, 78%)
CIE-LABlab(21.29, -4.13, 25.20)
CIE-LCHlch(21.29, 25.54, 99.30°)
OKLaboklab(32% -0.0138 0.0566)
OKLCHoklch(32% 0.058 103.7)
XYZxyz(2.9194, 3.3210, 0.8038)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38340B #0B0F38
analogous
#381D0B #38340B #25380B
triadic
#38340B #0B3834 #340B38
tetradic
#38340B #0B381D #0B0F38 #380B25
square
#38340B #0B381D #0B0F38 #380B25
split-complementary
#38340B #0B2538 #1D0B38
monochromatic
#1A1805 #1A1805 #38340B #6B6315 #9E931F

Accessibility & contrast

On white

12.62
#38340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#38340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38340B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38340B#FFFFFF#000000##FFFFFF
##38340B1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393206
Deuteranopia (green-blind)
#3B340E
Tritanopia (blue-blind)
#3D302C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #38340b;
/* rgb */ color: rgb(56, 52, 11);
/* oklch */ color: oklch(32.0% 0.058 103.7);
Tailwind
colors: {
  custom: {
    50: '#706b4d',
    500: '#38340b',
    950: '#000000',
  },
}
SCSS
$custom: #38340b;
$custom-light: #706b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#38340b",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 54.667,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32002,
    "c": 0.05829,
    "h": 103.7
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#38340B
secondary
#2A3175
accent
#4DEA3E
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #38340B

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

Preview Lab → · Contrast checker → · Palette generator →

#38340B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva