#382F12#382F12

#382F12 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.8% C 0.046 H 92.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#382F12
RGBrgb(56, 47, 18)
HSLhsl(46, 51%, 15%)
HSVhsv(46, 68%, 22%)
CMYKcmyk(0%, 16.1%, 67.9%, 78%)
CIE-LABlab(19.71, -0.30, 19.83)
CIE-LCHlch(19.71, 19.83, 90.88°)
OKLaboklab(30.78% -0.0018 0.0462)
OKLCHoklch(30.78% 0.046 92.3)
XYZxyz(2.7567, 2.9176, 0.9901)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F12 #121B38
analogous
#381C12 #382F12 #2E3812
triadic
#382F12 #12382F #2F1238
tetradic
#382F12 #12381C #121B38 #38122E
square
#382F12 #12381C #121B38 #38122E
split-complementary
#382F12 #122E38 #1C1238
monochromatic
#171307 #171307 #382F12 #665621 #957D30

Accessibility & contrast

On white

13.26
#382F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382F12
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F12#FFFFFF#000000##FFFFFF
##382F121.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0F
Deuteranopia (green-blind)
#373113
Tritanopia (blue-blind)
#3D2B28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #382f12;
/* rgb */ color: rgb(56, 47, 18);
/* oklch */ color: oklch(30.8% 0.046 92.3);
Tailwind
colors: {
  custom: {
    50: '#706751',
    500: '#382f12',
    950: '#000000',
  },
}
SCSS
$custom: #382f12;
$custom-light: #706751;
$custom-dark: #000000;
JSON
{
  "hex": "#382f12",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 45.789,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.30778,
    "c": 0.04621,
    "h": 92.3
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#382F12
secondary
#354371
accent
#6FDB4D
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #382F12

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

Preview Lab → · Contrast checker → · Palette generator →

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