#383D08#383D08

#383D08 is a dark, moderate yellow. Relative luminance 0.042; OKLCH L 34.4% C 0.072 H 115.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#383D08
RGBrgb(56, 61, 8)
HSLhsl(66, 77%, 14%)
HSVhsv(66, 87%, 24%)
CMYKcmyk(8.2%, 0%, 86.9%, 76.1%)
CIE-LABlab(24.31, -9.91, 29.56)
CIE-LCHlch(24.31, 31.18, 108.54°)
OKLaboklab(34.41% -0.0303 0.065)
OKLCHoklch(34.41% 0.072 115)
XYZxyz(3.3436, 4.1958, 0.8634)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383D08 #0D083D
analogous
#3D2708 #383D08 #1D3D08
triadic
#383D08 #08383D #3D0838
tetradic
#383D08 #083D27 #0D083D #3D081D
square
#383D08 #083D27 #0D083D #3D081D
split-complementary
#383D08 #081D3D #27083D
monochromatic
#191B04 #191B04 #383D08 #6A730F #9BA916

Accessibility & contrast

On white

11.42
#383D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#383D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383D08
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383D08#FFFFFF#000000##FFFFFF
##383D081.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423901
Deuteranopia (green-blind)
#423A0D
Tritanopia (blue-blind)
#3C3933
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #383d08;
/* rgb */ color: rgb(56, 61, 8);
/* oklch */ color: oklch(34.4% 0.072 115.0);
Tailwind
colors: {
  custom: {
    50: '#71724c',
    500: '#383d08',
    950: '#000000',
  },
}
SCSS
$custom: #383d08;
$custom-light: #71724c;
$custom-dark: #000000;
JSON
{
  "hex": "#383d08",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 65.66,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.07171,
    "h": 115
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#383D08
secondary
#2D257C
accent
#34F346
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #383D08

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

Preview Lab → · Contrast checker → · Palette generator →

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