#38330F#38330F

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

Color values

HEX#38330F
RGBrgb(56, 51, 15)
HSLhsl(53, 58%, 14%)
HSVhsv(53, 73%, 22%)
CMYKcmyk(0%, 8.9%, 73.2%, 78%)
CIE-LABlab(20.99, -3.19, 22.96)
CIE-LCHlch(20.99, 23.18, 97.91°)
OKLaboklab(31.78% -0.0106 0.0524)
OKLCHoklch(31.78% 0.053 101.4)
XYZxyz(2.9011, 3.2430, 0.9250)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38330F #0F1438
analogous
#381F0F #38330F #29380F
triadic
#38330F #0F3833 #330F38
tetradic
#38330F #0F381F #0F1438 #380F29
square
#38330F #0F381F #0F1438 #380F29
split-complementary
#38330F #0F2938 #1F0F38
monochromatic
#181606 #181606 #38330F #685F1C #998B29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38330F#FFFFFF#000000##FFFFFF
##38330F1.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)
#38310B
Deuteranopia (green-blind)
#3A3311
Tritanopia (blue-blind)
#3D2F2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #38330f;
/* rgb */ color: rgb(56, 51, 15);
/* oklch */ color: oklch(31.8% 0.053 101.4);
Tailwind
colors: {
  custom: {
    50: '#706a4f',
    500: '#38330f',
    950: '#000000',
  },
}
SCSS
$custom: #38330f;
$custom-light: #706a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#38330f",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 52.683,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3178,
    "c": 0.05346,
    "h": 101.4
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#38330F
secondary
#303972
accent
#5AE147
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #38330F

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

Preview Lab → · Contrast checker → · Palette generator →

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