#38340E#38340E

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

Color values

HEX#38340E
RGBrgb(56, 52, 14)
HSLhsl(54, 60%, 14%)
HSVhsv(54, 75%, 22%)
CMYKcmyk(0%, 7.1%, 75%, 78%)
CIE-LABlab(21.31, -3.91, 23.83)
CIE-LCHlch(21.31, 24.15, 99.33°)
OKLaboklab(32.03% -0.0128 0.0541)
OKLCHoklch(32.03% 0.056 103.3)
XYZxyz(2.9383, 3.3286, 0.9031)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38340E #0E1238
analogous
#381F0E #38340E #27380E
triadic
#38340E #0E3834 #340E38
tetradic
#38340E #0E381F #0E1238 #380E27
square
#38340E #0E381F #0E1238 #380E27
split-complementary
#38340E #0E2738 #1F0E38
monochromatic
#181706 #181706 #38340E #69611A #9A8F26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38340E#FFFFFF#000000##FFFFFF
##38340E1.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)
#393209
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#3D302C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #38340e;
/* rgb */ color: rgb(56, 52, 14);
/* oklch */ color: oklch(32.0% 0.056 103.3);
Tailwind
colors: {
  custom: {
    50: '#706b4e',
    500: '#38340e',
    950: '#000000',
  },
}
SCSS
$custom: #38340e;
$custom-light: #706b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#38340e",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 54.286,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32033,
    "c": 0.05557,
    "h": 103.3
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#38340E
secondary
#2F3573
accent
#54E345
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #38340E

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

Preview Lab → · Contrast checker → · Palette generator →

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