#383306#383306

#383306 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.7% C 0.061 H 102.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#383306
RGBrgb(56, 51, 6)
HSLhsl(54, 81%, 12%)
HSVhsv(54, 89%, 22%)
CMYKcmyk(0%, 8.9%, 89.3%, 78%)
CIE-LABlab(20.91, -3.80, 26.84)
CIE-LCHlch(20.91, 27.11, 98.07°)
OKLaboklab(31.69% -0.0136 0.0599)
OKLCHoklch(31.69% 0.061 102.8)
XYZxyz(2.8477, 3.2217, 0.6441)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383306 #060B38
analogous
#381A06 #383306 #243806
triadic
#383306 #063833 #330638
tetradic
#383306 #06381A #060B38 #380624
square
#383306 #06381A #060B38 #380624
split-complementary
#383306 #062438 #1A0638
monochromatic
#1C1903 #1C1903 #383306 #6F650C #A79812

Accessibility & contrast

On white

12.77
#383306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#383306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383306
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383306#FFFFFF#000000##FFFFFF
##3833061.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393101
Deuteranopia (green-blind)
#3A3309
Tritanopia (blue-blind)
#3D2F2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #383306;
/* rgb */ color: rgb(56, 51, 6);
/* oklch */ color: oklch(31.7% 0.061 102.8);
Tailwind
colors: {
  custom: {
    50: '#716a4a',
    500: '#383306',
    950: '#000000',
  },
}
SCSS
$custom: #383306;
$custom-light: #716a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#383306",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 54,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3169,
    "c": 0.06137,
    "h": 102.8
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#383306
secondary
#212A78
accent
#45F731
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #383306

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

Preview Lab → · Contrast checker → · Palette generator →

#383306 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva