#383F0B#383F0B

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

Color values

HEX#383F0B
RGBrgb(56, 63, 11)
HSLhsl(68, 70%, 15%)
HSVhsv(68, 83%, 25%)
CMYKcmyk(11.1%, 0%, 82.5%, 75.3%)
CIE-LABlab(25.01, -10.93, 29.01)
CIE-LCHlch(25.01, 31.01, 110.65°)
OKLaboklab(34.98% -0.0328 0.0644)
OKLCHoklch(34.98% 0.072 117)
XYZxyz(3.4689, 4.4200, 0.9869)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383F0B #120B3F
analogous
#3F2C0B #383F0B #1E3F0B
triadic
#383F0B #0B383F #3F0B38
tetradic
#383F0B #0B3F2C #120B3F #3F0B1E
square
#383F0B #0B3F2C #120B3F #3F0B1E
split-complementary
#383F0B #0B1E3F #2C0B3F
monochromatic
#171A05 #171A05 #383F0B #667314 #95A71D

Accessibility & contrast

On white

11.15
#383F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #383F0B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383F0B#FFFFFF#000000##FFFFFF
##383F0B1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #383f0b;
/* rgb */ color: rgb(56, 63, 11);
/* oklch */ color: oklch(35.0% 0.072 117.0);
Tailwind
colors: {
  custom: {
    50: '#71734e',
    500: '#383f0b',
    950: '#000000',
  },
}
SCSS
$custom: #383f0b;
$custom-light: #71734e;
$custom-dark: #000000;
JSON
{
  "hex": "#383f0b",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 68.077,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34982,
    "c": 0.07226,
    "h": 117
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#383F0B
secondary
#352A7C
accent
#3BED53
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #383F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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