#382F0C#382F0C

#382F0C is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.7% C 0.052 H 94.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#382F0C
RGBrgb(56, 47, 12)
HSLhsl(48, 65%, 13%)
HSVhsv(48, 79%, 22%)
CMYKcmyk(0%, 16.1%, 78.6%, 78%)
CIE-LABlab(19.64, -0.80, 22.93)
CIE-LCHlch(19.64, 22.94, 92.00°)
OKLaboklab(30.7% -0.0042 0.0522)
OKLCHoklch(30.7% 0.052 94.6)
XYZxyz(2.7139, 2.9005, 0.7647)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F0C #0C1538
analogous
#38190C #382F0C #2B380C
triadic
#382F0C #0C382F #2F0C38
tetradic
#382F0C #0C3819 #0C1538 #380C2B
square
#382F0C #0C3819 #0C1538 #380C2B
split-complementary
#382F0C #0C2B38 #190C38
monochromatic
#191505 #191505 #382F0C #6A5917 #9D8422

Accessibility & contrast

On white

13.29
#382F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#382F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F0C
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F0C#FFFFFF#000000##FFFFFF
##382F0C1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E08
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#3D2B28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #382f0c;
/* rgb */ color: rgb(56, 47, 12);
/* oklch */ color: oklch(30.7% 0.052 94.6);
Tailwind
colors: {
  custom: {
    50: '#70674d',
    500: '#382f0c',
    950: '#000000',
  },
}
SCSS
$custom: #382f0c;
$custom-light: #70674d;
$custom-dark: #000000;
JSON
{
  "hex": "#382f0c",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 47.727,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.307,
    "c": 0.05237,
    "h": 94.6
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#382F0C
secondary
#2C3B74
accent
#62E840
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #382F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#382F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva