#38390C#38390C

#38390C is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.4% C 0.063 H 110.6°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#38390C
RGBrgb(56, 57, 12)
HSLhsl(61, 65%, 14%)
HSVhsv(61, 79%, 22%)
CMYKcmyk(1.8%, 0%, 78.9%, 77.6%)
CIE-LABlab(22.98, -7.22, 26.55)
CIE-LCHlch(22.98, 27.51, 105.21°)
OKLaboklab(33.35% -0.0224 0.0594)
OKLCHoklch(33.35% 0.063 110.6)
XYZxyz(3.1605, 3.7936, 0.9135)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38390C #0D0C39
analogous
#39230C #38390C #21390C
triadic
#38390C #0C3839 #390C38
tetradic
#38390C #0C3923 #0D0C39 #390C21
square
#38390C #0C3923 #0D0C39 #390C21
split-complementary
#38390C #0C2139 #230C39
monochromatic
#191905 #191905 #38390C #6A6C17 #9B9E21

Accessibility & contrast

On white

11.94
#38390C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#38390C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38390C
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38390C#FFFFFF#000000##FFFFFF
##38390C1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3606
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#3C3530
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #38390c;
/* rgb */ color: rgb(56, 57, 12);
/* oklch */ color: oklch(33.4% 0.063 110.6);
Tailwind
colors: {
  custom: {
    50: '#706f4e',
    500: '#38390c',
    950: '#000000',
  },
}
SCSS
$custom: #38390c;
$custom-light: #706f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#38390c",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 61.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33353,
    "c": 0.06349,
    "h": 110.6
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#38390C
secondary
#2D2C75
accent
#40E843
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#080702
muted
#7B7A78

Preview Lab

Preview with #38390C

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

Preview Lab → · Contrast checker → · Palette generator →

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