#38381E#38381E

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

Color values

HEX#38381E
RGBrgb(56, 56, 30)
HSLhsl(60, 30%, 17%)
HSVhsv(60, 46%, 22%)
CMYKcmyk(0%, 0%, 46.4%, 78%)
CIE-LABlab(22.87, -4.77, 16.25)
CIE-LCHlch(22.87, 16.93, 106.37°)
OKLaboklab(33.34% -0.0132 0.0395)
OKLCHoklch(33.34% 0.042 108.5)
XYZxyz(3.2795, 3.7629, 1.7816)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38381E #1E1E38
analogous
#382B1E #38381E #2B381E
triadic
#38381E #1E3838 #381E38
tetradic
#38381E #1E382B #1E1E38 #381E2B
square
#38381E #1E382B #1E1E38 #381E2B
split-complementary
#38381E #1E2B38 #2B1E38
monochromatic
#14140B #14140B #38381E #606033 #888849

Accessibility & contrast

On white

11.98
#38381E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38381E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38381E#FFFFFF#000000##FFFFFF
##38381E1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361C
Deuteranopia (green-blind)
#3C371F
Tritanopia (blue-blind)
#3B3532
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #38381e;
/* rgb */ color: rgb(56, 56, 30);
/* oklch */ color: oklch(33.3% 0.042 108.5);
Tailwind
colors: {
  custom: {
    50: '#6f6e5a',
    500: '#38381e',
    950: '#000000',
  },
}
SCSS
$custom: #38381e;
$custom-light: #6f6e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#38381e",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 30.233,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33343,
    "c": 0.04163,
    "h": 108.5
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#38381E
secondary
#46466C
accent
#61C661
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#070703
muted
#7A7A78

Preview Lab

Preview with #38381E

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

Preview Lab → · Contrast checker → · Palette generator →

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