#383303#383303

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

Color values

HEX#383303
RGBrgb(56, 51, 3)
HSLhsl(54, 90%, 12%)
HSVhsv(54, 95%, 22%)
CMYKcmyk(0%, 8.9%, 94.6%, 78%)
CIE-LABlab(20.89, -3.99, 28.03)
CIE-LCHlch(20.89, 28.32, 98.11°)
OKLaboklab(31.66% -0.0146 0.0623)
OKLCHoklch(31.66% 0.064 103.2)
XYZxyz(2.8313, 3.2151, 0.5576)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383303 #030838
analogous
#381903 #383303 #233803
triadic
#383303 #033833 #330338
tetradic
#383303 #033819 #030838 #380323
square
#383303 #033819 #030838 #380323
split-complementary
#383303 #032338 #190338
monochromatic
#1D1A02 #1D1A02 #383303 #726806 #AC9D09

Accessibility & contrast

On white

12.78
#383303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383303
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383303#FFFFFF#000000##FFFFFF
##3833031.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#3A3306
Tritanopia (blue-blind)
#3D2E2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #383303;
/* rgb */ color: rgb(56, 51, 3);
/* oklch */ color: oklch(31.7% 0.064 103.2);
Tailwind
colors: {
  custom: {
    50: '#716a49',
    500: '#383303',
    950: '#000000',
  },
}
SCSS
$custom: #383303;
$custom-light: #716a49;
$custom-dark: #000000;
JSON
{
  "hex": "#383303",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 3
  },
  "hsl": {
    "h": 54.34,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31662,
    "c": 0.06397,
    "h": 103.2
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#383303
secondary
#1C257B
accent
#3DFF29
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #383303

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

Preview Lab → · Contrast checker → · Palette generator →

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