#382F03#382F03

#382F03 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.6% C 0.060 H 96.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#382F03
RGBrgb(56, 47, 3)
HSLhsl(50, 90%, 12%)
HSVhsv(50, 95%, 22%)
CMYKcmyk(0%, 16.1%, 94.6%, 78%)
CIE-LABlab(19.56, -1.39, 26.54)
CIE-LCHlch(19.56, 26.58, 93.00°)
OKLaboklab(30.61% -0.0073 0.0599)
OKLCHoklch(30.61% 0.06 96.9)
XYZxyz(2.6640, 2.8805, 0.5018)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F03 #030C38
analogous
#381503 #382F03 #273803
triadic
#382F03 #03382F #2F0338
tetradic
#382F03 #033815 #030C38 #380327
square
#382F03 #033815 #030C38 #380327
split-complementary
#382F03 #032738 #150338
monochromatic
#1D1802 #1D1802 #382F03 #726006 #AC9109

Accessibility & contrast

On white

13.32
#382F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#382F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F03
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F03#FFFFFF#000000##FFFFFF
##382F031.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#373105
Tritanopia (blue-blind)
#3D2A27
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #382f03;
/* rgb */ color: rgb(56, 47, 3);
/* oklch */ color: oklch(30.6% 0.060 96.9);
Tailwind
colors: {
  custom: {
    50: '#716748',
    500: '#382f03',
    950: '#000000',
  },
}
SCSS
$custom: #382f03;
$custom-light: #716748;
$custom-dark: #000000;
JSON
{
  "hex": "#382f03",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 49.811,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30609,
    "c": 0.06032,
    "h": 96.9
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#382F03
secondary
#1C2C7B
accent
#4DFF29
background
#F7F6F4
surface
#EDEBE6
border
#C8C6C2
text
#080601
muted
#7B7A77

Preview Lab

Preview with #382F03

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

Preview Lab → · Contrast checker → · Palette generator →

#382F03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva