#38381C#38381C

#38381C is a dark, muted yellow. Relative luminance 0.038; OKLCH L 33.3% C 0.044 H 108.6°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#38381C
RGBrgb(56, 56, 28)
HSLhsl(60, 33%, 16%)
HSVhsv(60, 50%, 22%)
CMYKcmyk(0%, 0%, 50%, 78%)
CIE-LABlab(22.84, -5.04, 17.46)
CIE-LCHlch(22.84, 18.17, 106.10°)
OKLaboklab(33.31% -0.0141 0.0421)
OKLCHoklch(33.31% 0.044 108.6)
XYZxyz(3.2547, 3.7530, 1.6513)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38381C #1C1C38
analogous
#382A1C #38381C #2A381C
triadic
#38381C #1C3838 #381C38
tetradic
#38381C #1C382A #1C1C38 #381C2A
square
#38381C #1C382A #1C1C38 #381C2A
split-complementary
#38381C #1C2A38 #2A1C38
monochromatic
#14140A #14140A #38381C #616130 #8A8A45

Accessibility & contrast

On white

12.00
#38381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#38381C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38381C
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38381C#FFFFFF#000000##FFFFFF
##38381C1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361A
Deuteranopia (green-blind)
#3C371D
Tritanopia (blue-blind)
#3C3531
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #38381c;
/* rgb */ color: rgb(56, 56, 28);
/* oklch */ color: oklch(33.3% 0.044 108.6);
Tailwind
colors: {
  custom: {
    50: '#6f6e58',
    500: '#38381c',
    950: '#000000',
  },
}
SCSS
$custom: #38381c;
$custom-light: #6f6e58;
$custom-dark: #000000;
JSON
{
  "hex": "#38381c",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 60,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.04439,
    "h": 108.6
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#38381C
secondary
#43436C
accent
#5EC95E
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#070703
muted
#7A7A78

Preview Lab

Preview with #38381C

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

Preview Lab → · Contrast checker → · Palette generator →

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