#38330C#38330C

#38330C is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.7% C 0.056 H 101.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#38330C
RGBrgb(56, 51, 12)
HSLhsl(53, 65%, 13%)
HSVhsv(53, 79%, 22%)
CMYKcmyk(0%, 8.9%, 78.6%, 78%)
CIE-LABlab(20.96, -3.42, 24.41)
CIE-LCHlch(20.96, 24.64, 97.97°)
OKLaboklab(31.75% -0.0116 0.0551)
OKLCHoklch(31.75% 0.056 101.9)
XYZxyz(2.8812, 3.2351, 0.8204)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38330C #0C1138
analogous
#381D0C #38330C #27380C
triadic
#38330C #0C3833 #330C38
tetradic
#38330C #0C381D #0C1138 #380C27
square
#38330C #0C381D #0C1138 #380C27
split-complementary
#38330C #0C2738 #1D0C38
monochromatic
#191705 #191705 #38330C #6A6117 #9D8F22

Accessibility & contrast

On white

12.75
#38330C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38330C
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38330C#FFFFFF#000000##FFFFFF
##38330C1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38330c;
/* rgb */ color: rgb(56, 51, 12);
/* oklch */ color: oklch(31.7% 0.056 101.9);
Tailwind
colors: {
  custom: {
    50: '#706a4d',
    500: '#38330c',
    950: '#000000',
  },
}
SCSS
$custom: #38330c;
$custom-light: #706a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#38330c",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 12
  },
  "hsl": {
    "h": 53.182,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31747,
    "c": 0.05632,
    "h": 101.9
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#38330C
secondary
#2C3474
accent
#53E840
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #38330C

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

Preview Lab → · Contrast checker → · Palette generator →

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