#38330E#38330E

#38330E is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.8% C 0.054 H 101.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#38330E
RGBrgb(56, 51, 14)
HSLhsl(53, 60%, 14%)
HSVhsv(53, 75%, 22%)
CMYKcmyk(0%, 8.9%, 75%, 78%)
CIE-LABlab(20.98, -3.27, 23.47)
CIE-LCHlch(20.98, 23.69, 97.93°)
OKLaboklab(31.77% -0.0109 0.0533)
OKLCHoklch(31.77% 0.054 101.6)
XYZxyz(2.8941, 3.2402, 0.8884)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38330E #0E1338
analogous
#381E0E #38330E #28380E
triadic
#38330E #0E3833 #330E38
tetradic
#38330E #0E381E #0E1338 #380E28
square
#38330E #0E381E #0E1338 #380E28
split-complementary
#38330E #0E2838 #1E0E38
monochromatic
#181606 #181606 #38330E #69601A #9A8C26

Accessibility & contrast

On white

12.74
#38330E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#38330E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38330E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38330E#FFFFFF#000000##FFFFFF
##38330E1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383109
Deuteranopia (green-blind)
#3A3310
Tritanopia (blue-blind)
#3D2F2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #38330e;
/* rgb */ color: rgb(56, 51, 14);
/* oklch */ color: oklch(31.8% 0.054 101.6);
Tailwind
colors: {
  custom: {
    50: '#706a4e',
    500: '#38330e',
    950: '#000000',
  },
}
SCSS
$custom: #38330e;
$custom-light: #706a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#38330e",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 14
  },
  "hsl": {
    "h": 52.857,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31769,
    "c": 0.05444,
    "h": 101.6
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#38330E
secondary
#2F3773
accent
#58E345
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #38330E

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

Preview Lab → · Contrast checker → · Palette generator →

#38330E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva