#38340D#38340D

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

Color values

HEX#38340D
RGBrgb(56, 52, 13)
HSLhsl(54, 62%, 14%)
HSVhsv(54, 77%, 22%)
CMYKcmyk(0%, 7.1%, 76.8%, 78%)
CIE-LABlab(21.30, -3.99, 24.31)
CIE-LCHlch(21.30, 24.64, 99.32°)
OKLaboklab(32.02% -0.0131 0.055)
OKLCHoklch(32.02% 0.057 103.4)
XYZxyz(2.9316, 3.3259, 0.8682)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38340D #0D1138
analogous
#381E0D #38340D #26380D
triadic
#38340D #0D3834 #340D38
tetradic
#38340D #0D381E #0D1138 #380D26
square
#38340D #0D381E #0D1138 #380D26
split-complementary
#38340D #0D2638 #1E0D38
monochromatic
#191706 #191706 #38340D #6A6219 #9B9024

Accessibility & contrast

On white

12.61
#38340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#38340D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38340D
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38340D#FFFFFF#000000##FFFFFF
##38340D1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38340d;
/* rgb */ color: rgb(56, 52, 13);
/* oklch */ color: oklch(32.0% 0.057 103.4);
Tailwind
colors: {
  custom: {
    50: '#706b4e',
    500: '#38340d',
    950: '#000000',
  },
}
SCSS
$custom: #38340d;
$custom-light: #706b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#38340d",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 54.419,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32022,
    "c": 0.05652,
    "h": 103.4
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#38340D
secondary
#2D3473
accent
#52E542
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #38340D

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

Preview Lab → · Contrast checker → · Palette generator →

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