#38341C#38341C

#38341C is a dark, muted yellow. Relative luminance 0.034; OKLCH L 32.3% C 0.039 H 100.0°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#38341C
RGBrgb(56, 52, 28)
HSLhsl(51, 33%, 16%)
HSVhsv(51, 50%, 22%)
CMYKcmyk(0%, 7.1%, 50%, 78%)
CIE-LABlab(21.51, -2.47, 15.79)
CIE-LCHlch(21.51, 15.98, 98.87°)
OKLaboklab(32.25% -0.0067 0.0383)
OKLCHoklch(32.25% 0.039 100)
XYZxyz(3.0685, 3.3807, 1.5893)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38341C #1C2038
analogous
#38261C #38341C #2E381C
triadic
#38341C #1C3834 #341C38
tetradic
#38341C #1C3826 #1C2038 #381C2E
square
#38341C #1C3826 #1C2038 #381C2E
split-complementary
#38341C #1C2E38 #261C38
monochromatic
#14130A #14130A #38341C #615A30 #8A8045

Accessibility & contrast

On white

12.53
#38341C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#38341C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38341C
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38341C#FFFFFF#000000##FFFFFF
##38341C1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331A
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#3C312E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #38341c;
/* rgb */ color: rgb(56, 52, 28);
/* oklch */ color: oklch(32.3% 0.039 100.0);
Tailwind
colors: {
  custom: {
    50: '#6f6b58',
    500: '#38341c',
    950: '#000000',
  },
}
SCSS
$custom: #38341c;
$custom-light: #6f6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#38341c",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 28
  },
  "hsl": {
    "h": 51.429,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.03891,
    "h": 100
  },
  "luminance": 0.03381
}

Semantic roles & 50–950 ramp

primary
#38341C
secondary
#43496C
accent
#6EC95E
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#070603
muted
#7A7A78

Preview Lab

Preview with #38341C

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

Preview Lab → · Contrast checker → · Palette generator →

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