#38340C#38340C

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

Color values

HEX#38340C
RGBrgb(56, 52, 12)
HSLhsl(55, 65%, 13%)
HSVhsv(55, 79%, 22%)
CMYKcmyk(0%, 7.1%, 78.6%, 78%)
CIE-LABlab(21.30, -4.06, 24.77)
CIE-LCHlch(21.30, 25.10, 99.31°)
OKLaboklab(32.01% -0.0135 0.0558)
OKLCHoklch(32.01% 0.057 103.6)
XYZxyz(2.9254, 3.3234, 0.8351)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38340C #0C1038
analogous
#381E0C #38340C #26380C
triadic
#38340C #0C3834 #340C38
tetradic
#38340C #0C381E #0C1038 #380C26
square
#38340C #0C381E #0C1038 #380C26
split-complementary
#38340C #0C2638 #1E0C38
monochromatic
#191705 #191705 #38340C #6A6317 #9D9222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38340C#FFFFFF#000000##FFFFFF
##38340C1.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)
#393207
Deuteranopia (green-blind)
#3B340E
Tritanopia (blue-blind)
#3D302C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #38340c;
/* rgb */ color: rgb(56, 52, 12);
/* oklch */ color: oklch(32.0% 0.057 103.6);
Tailwind
colors: {
  custom: {
    50: '#706b4d',
    500: '#38340c',
    950: '#000000',
  },
}
SCSS
$custom: #38340c;
$custom-light: #706b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#38340c",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 54.545,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32012,
    "c": 0.05742,
    "h": 103.6
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#38340C
secondary
#2C3274
accent
#4FE840
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #38340C

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

Preview Lab → · Contrast checker → · Palette generator →

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