#383F04#383F04

#383F04 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 34.9% C 0.077 H 116.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#383F04
RGBrgb(56, 63, 4)
HSLhsl(67, 88%, 13%)
HSVhsv(67, 94%, 25%)
CMYKcmyk(11.1%, 0%, 93.7%, 75.3%)
CIE-LABlab(24.97, -11.34, 31.83)
CIE-LCHlch(24.97, 33.79, 109.62°)
OKLaboklab(34.93% -0.0347 0.069)
OKLCHoklch(34.93% 0.077 116.7)
XYZxyz(3.4304, 4.4046, 0.7843)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383F04 #0B043F
analogous
#3F2804 #383F04 #1A3F04
triadic
#383F04 #04383F #3F0438
tetradic
#383F04 #043F28 #0B043F #3F041A
square
#383F04 #043F28 #0B043F #3F041A
split-complementary
#383F04 #041A3F #28043F
monochromatic
#1A1D02 #1A1D02 #383F04 #6B7908 #9EB20B

Accessibility & contrast

On white

11.16
#383F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#383F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383F04
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383F04#FFFFFF#000000##FFFFFF
##383F041.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#443C09
Tritanopia (blue-blind)
#3C3B34
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #383f04;
/* rgb */ color: rgb(56, 63, 4);
/* oklch */ color: oklch(34.9% 0.077 116.7);
Tailwind
colors: {
  custom: {
    50: '#71734b',
    500: '#383f04',
    950: '#000000',
  },
}
SCSS
$custom: #383f04;
$custom-light: #71734b;
$custom-dark: #000000;
JSON
{
  "hex": "#383f04",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 67.119,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34929,
    "c": 0.07723,
    "h": 116.7
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#383F04
secondary
#2A1E80
accent
#2AFE43
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #383F04

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

Preview Lab → · Contrast checker → · Palette generator →

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