#383012#383012

#383012 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 31.0% C 0.047 H 94.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#383012
RGBrgb(56, 48, 18)
HSLhsl(47, 51%, 15%)
HSVhsv(47, 68%, 22%)
CMYKcmyk(0%, 14.3%, 67.9%, 78%)
CIE-LABlab(20.04, -0.97, 20.20)
CIE-LCHlch(20.04, 20.22, 92.74°)
OKLaboklab(31.04% -0.0037 0.047)
OKLCHoklch(31.04% 0.047 94.6)
XYZxyz(2.7971, 2.9985, 1.0036)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383012 #121A38
analogous
#381D12 #383012 #2D3812
triadic
#383012 #123830 #301238
tetradic
#383012 #12381D #121A38 #38122D
square
#383012 #12381D #121A38 #38122D
split-complementary
#383012 #122D38 #1D1238
monochromatic
#171407 #171407 #383012 #665821 #957F30

Accessibility & contrast

On white

13.13
#383012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#383012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383012
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383012#FFFFFF#000000##FFFFFF
##3830121.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0F
Deuteranopia (green-blind)
#373113
Tritanopia (blue-blind)
#3D2C29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #383012;
/* rgb */ color: rgb(56, 48, 18);
/* oklch */ color: oklch(31.0% 0.047 94.6);
Tailwind
colors: {
  custom: {
    50: '#706851',
    500: '#383012',
    950: '#000000',
  },
}
SCSS
$custom: #383012;
$custom-light: #706851;
$custom-dark: #000000;
JSON
{
  "hex": "#383012",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 18
  },
  "hsl": {
    "h": 47.368,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31036,
    "c": 0.04713,
    "h": 94.6
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#383012
secondary
#354271
accent
#6BDB4D
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #383012

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

Preview Lab → · Contrast checker → · Palette generator →

#383012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva