#383F0C#383F0C

#383F0C is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.0% C 0.072 H 117.1°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#383F0C
RGBrgb(56, 63, 12)
HSLhsl(68, 68%, 15%)
HSVhsv(68, 81%, 25%)
CMYKcmyk(11.1%, 0%, 81%, 75.3%)
CIE-LABlab(25.02, -10.87, 28.59)
CIE-LCHlch(25.02, 30.59, 110.82°)
OKLaboklab(34.99% -0.0325 0.0637)
OKLCHoklch(34.99% 0.072 117.1)
XYZxyz(3.4748, 4.4224, 1.0183)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383F0C #130C3F
analogous
#3F2D0C #383F0C #1F3F0C
triadic
#383F0C #0C383F #3F0C38
tetradic
#383F0C #0C3F2D #130C3F #3F0C1F
square
#383F0C #0C3F2D #130C3F #3F0C1F
split-complementary
#383F0C #0C1F3F #2D0C3F
monochromatic
#171A05 #171A05 #383F0C #667216 #93A620

Accessibility & contrast

On white

11.14
#383F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383F0C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383F0C#FFFFFF#000000##FFFFFF
##383F0C1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B04
Deuteranopia (green-blind)
#433C10
Tritanopia (blue-blind)
#3C3B35
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #383f0c;
/* rgb */ color: rgb(56, 63, 12);
/* oklch */ color: oklch(35.0% 0.072 117.1);
Tailwind
colors: {
  custom: {
    50: '#71744f',
    500: '#383f0c',
    950: '#000000',
  },
}
SCSS
$custom: #383f0c;
$custom-light: #71744f;
$custom-dark: #000000;
JSON
{
  "hex": "#383f0c",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 68.235,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34991,
    "c": 0.07151,
    "h": 117.1
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#383F0C
secondary
#372C7B
accent
#3DEB55
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #383F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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