#38341A#38341A

#38341A is a dark, muted yellow. Relative luminance 0.034; OKLCH L 32.2% C 0.042 H 100.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#38341A
RGBrgb(56, 52, 26)
HSLhsl(52, 37%, 16%)
HSVhsv(52, 54%, 22%)
CMYKcmyk(0%, 7.1%, 53.6%, 78%)
CIE-LABlab(21.47, -2.72, 17.02)
CIE-LCHlch(21.47, 17.23, 99.07°)
OKLaboklab(32.21% -0.0077 0.0409)
OKLCHoklch(32.21% 0.042 100.7)
XYZxyz(3.0454, 3.3714, 1.4674)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38341A #1A1E38
analogous
#38251A #38341A #2D381A
triadic
#38341A #1A3834 #341A38
tetradic
#38341A #1A3825 #1A1E38 #381A2D
square
#38341A #1A3825 #1A1E38 #381A2D
split-complementary
#38341A #1A2D38 #251A38
monochromatic
#15130A #15130A #38341A #625B2D #8C8241

Accessibility & contrast

On white

12.54
#38341A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#38341A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38341A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38341A#FFFFFF#000000##FFFFFF
##38341A1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383318
Deuteranopia (green-blind)
#3A341B
Tritanopia (blue-blind)
#3C312E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #38341a;
/* rgb */ color: rgb(56, 52, 26);
/* oklch */ color: oklch(32.2% 0.042 100.7);
Tailwind
colors: {
  custom: {
    50: '#6f6b57',
    500: '#38341a',
    950: '#000000',
  },
}
SCSS
$custom: #38341a;
$custom-light: #6f6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#38341a",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 26
  },
  "hsl": {
    "h": 52,
    "s": 36.585,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32211,
    "c": 0.04164,
    "h": 100.7
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#38341A
secondary
#41476D
accent
#6ACD5B
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#070603
muted
#7A7A78

Preview Lab

Preview with #38341A

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

Preview Lab → · Contrast checker → · Palette generator →

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