#38340A#38340A

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

Color values

HEX#38340A
RGBrgb(56, 52, 10)
HSLhsl(55, 70%, 13%)
HSVhsv(55, 82%, 22%)
CMYKcmyk(0%, 7.1%, 82.1%, 78%)
CIE-LABlab(21.28, -4.19, 25.61)
CIE-LCHlch(21.28, 25.95, 99.30°)
OKLaboklab(31.99% -0.0141 0.0574)
OKLCHoklch(31.99% 0.059 103.8)
XYZxyz(2.9138, 3.3188, 0.7742)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38340A #0A0E38
analogous
#381D0A #38340A #25380A
triadic
#38340A #0A3834 #340A38
tetradic
#38340A #0A381D #0A0E38 #380A25
square
#38340A #0A381D #0A0E38 #380A25
split-complementary
#38340A #0A2538 #1D0A38
monochromatic
#1A1805 #1A1805 #38340A #6C6413 #A0941D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38340A#FFFFFF#000000##FFFFFF
##38340A1.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)
#393205
Deuteranopia (green-blind)
#3B340D
Tritanopia (blue-blind)
#3D302C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #38340a;
/* rgb */ color: rgb(56, 52, 10);
/* oklch */ color: oklch(32.0% 0.059 103.8);
Tailwind
colors: {
  custom: {
    50: '#716b4c',
    500: '#38340a',
    950: '#000000',
  },
}
SCSS
$custom: #38340a;
$custom-light: #716b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#38340a",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 54.783,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31992,
    "c": 0.05911,
    "h": 103.8
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#38340A
secondary
#282F75
accent
#4BED3B
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #38340A

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

Preview Lab → · Contrast checker → · Palette generator →

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