#383B0C#383B0C

#383B0C is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 33.9% C 0.066 H 113.0°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#383B0C
RGBrgb(56, 59, 12)
HSLhsl(64, 66%, 14%)
HSVhsv(64, 80%, 23%)
CMYKcmyk(5.1%, 0%, 79.7%, 76.9%)
CIE-LABlab(23.66, -8.46, 27.24)
CIE-LCHlch(23.66, 28.52, 107.24°)
OKLaboklab(33.9% -0.0258 0.0608)
OKLCHoklch(33.9% 0.066 113)
XYZxyz(3.2613, 3.9953, 0.9471)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383B0C #0F0C3B
analogous
#3B270C #383B0C #213B0C
triadic
#383B0C #0C383B #3B0C38
tetradic
#383B0C #0C3B27 #0F0C3B #3B0C21
square
#383B0C #0C3B27 #0F0C3B #3B0C21
split-complementary
#383B0C #0C213B #270C3B
monochromatic
#181905 #181905 #383B0C #686E16 #99A121

Accessibility & contrast

On white

11.67
#383B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#383B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383B0C
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383B0C#FFFFFF#000000##FFFFFF
##383B0C1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403805
Deuteranopia (green-blind)
#40390F
Tritanopia (blue-blind)
#3C3732
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #383b0c;
/* rgb */ color: rgb(56, 59, 12);
/* oklch */ color: oklch(33.9% 0.066 113.0);
Tailwind
colors: {
  custom: {
    50: '#70704e',
    500: '#383b0c',
    950: '#000000',
  },
}
SCSS
$custom: #383b0c;
$custom-light: #70704e;
$custom-dark: #000000;
JSON
{
  "hex": "#383b0c",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 12
  },
  "hsl": {
    "h": 63.83,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33896,
    "c": 0.0661,
    "h": 113
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#383B0C
secondary
#302C77
accent
#3FE94A
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#080702
muted
#7B7A78

Preview Lab

Preview with #383B0C

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

Preview Lab → · Contrast checker → · Palette generator →

#383B0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva