#382F08#382F08

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

Color values

HEX#382F08
RGBrgb(56, 47, 8)
HSLhsl(49, 75%, 13%)
HSVhsv(49, 86%, 22%)
CMYKcmyk(0%, 16.1%, 85.7%, 78%)
CIE-LABlab(19.60, -1.07, 24.56)
CIE-LCHlch(19.60, 24.58, 92.49°)
OKLaboklab(30.66% -0.0055 0.0556)
OKLCHoklch(30.66% 0.056 95.7)
XYZxyz(2.6914, 2.8915, 0.6460)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F08 #081138
analogous
#381708 #382F08 #293808
triadic
#382F08 #08382F #2F0838
tetradic
#382F08 #083817 #081138 #380829
square
#382F08 #083817 #081138 #380829
split-complementary
#382F08 #082938 #170838
monochromatic
#1B1604 #1B1604 #382F08 #6E5C10 #A38917

Accessibility & contrast

On white

13.31
#382F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382F08
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F08#FFFFFF#000000##FFFFFF
##382F081.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E03
Deuteranopia (green-blind)
#37310A
Tritanopia (blue-blind)
#3D2B27
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #382f08;
/* rgb */ color: rgb(56, 47, 8);
/* oklch */ color: oklch(30.7% 0.056 95.7);
Tailwind
colors: {
  custom: {
    50: '#71674b',
    500: '#382f08',
    950: '#000000',
  },
}
SCSS
$custom: #382f08;
$custom-light: #71674b;
$custom-dark: #000000;
JSON
{
  "hex": "#382f08",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 48.75,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30659,
    "c": 0.05584,
    "h": 95.7
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#382F08
secondary
#253477
accent
#59F236
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #382F08

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

Preview Lab → · Contrast checker → · Palette generator →

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