#383C04#383C04

#383C04 is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.1% C 0.073 H 114.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#383C04
RGBrgb(56, 60, 4)
HSLhsl(64, 88%, 13%)
HSVhsv(64, 93%, 24%)
CMYKcmyk(6.7%, 0%, 93.3%, 76.5%)
CIE-LABlab(23.94, -9.55, 30.83)
CIE-LCHlch(23.94, 32.27, 107.21°)
OKLaboklab(34.1% -0.0298 0.0671)
OKLCHoklch(34.1% 0.073 114)
XYZxyz(3.2688, 4.0813, 0.7304)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383C04 #08043C
analogous
#3C2404 #383C04 #1C3C04
triadic
#383C04 #04383C #3C0438
tetradic
#383C04 #043C24 #08043C #3C041C
square
#383C04 #043C24 #08043C #3C041C
split-complementary
#383C04 #041C3C #24043C
monochromatic
#1B1D02 #1B1D02 #383C04 #6E7508 #A3AF0C

Accessibility & contrast

On white

11.56
#383C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#383C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383C04
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383C04#FFFFFF#000000##FFFFFF
##383C041.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#413909
Tritanopia (blue-blind)
#3D3832
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #383c04;
/* rgb */ color: rgb(56, 60, 4);
/* oklch */ color: oklch(34.1% 0.073 114.0);
Tailwind
colors: {
  custom: {
    50: '#71714a',
    500: '#383c04',
    950: '#000000',
  },
}
SCSS
$custom: #383c04;
$custom-light: #71714a;
$custom-dark: #000000;
JSON
{
  "hex": "#383c04",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 4
  },
  "hsl": {
    "h": 64.286,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.07342,
    "h": 114
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#383C04
secondary
#251E7E
accent
#2AFE39
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #383C04

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

Preview Lab → · Contrast checker → · Palette generator →

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