#38340F#38340F

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

Color values

HEX#38340F
RGBrgb(56, 52, 15)
HSLhsl(54, 58%, 14%)
HSVhsv(54, 73%, 22%)
CMYKcmyk(0%, 7.1%, 73.2%, 78%)
CIE-LABlab(21.32, -3.84, 23.33)
CIE-LCHlch(21.32, 23.64, 99.34°)
OKLaboklab(32.05% -0.0124 0.0532)
OKLCHoklch(32.05% 0.055 103.2)
XYZxyz(2.9452, 3.3313, 0.9397)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38340F #0F1338
analogous
#38200F #38340F #28380F
triadic
#38340F #0F3834 #340F38
tetradic
#38340F #0F3820 #0F1338 #380F28
square
#38340F #0F3820 #0F1338 #380F28
split-complementary
#38340F #0F2838 #200F38
monochromatic
#181606 #181606 #38340F #68611C #998E29

Accessibility & contrast

On white

12.60
#38340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38340F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38340F#FFFFFF#000000##FFFFFF
##38340F1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320B
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#3D302C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #38340f;
/* rgb */ color: rgb(56, 52, 15);
/* oklch */ color: oklch(32.0% 0.055 103.2);
Tailwind
colors: {
  custom: {
    50: '#706b4f',
    500: '#38340f',
    950: '#000000',
  },
}
SCSS
$custom: #38340f;
$custom-light: #706b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#38340f",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 54.146,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32045,
    "c": 0.05459,
    "h": 103.2
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#38340F
secondary
#303772
accent
#56E147
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #38340F

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

Preview Lab → · Contrast checker → · Palette generator →

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