#38400A#38400A

#38400A is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.3% C 0.074 H 117.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#38400A
RGBrgb(56, 64, 10)
HSLhsl(69, 73%, 15%)
HSVhsv(69, 84%, 25%)
CMYKcmyk(12.5%, 0%, 84.4%, 74.9%)
CIE-LABlab(25.35, -11.58, 29.75)
CIE-LCHlch(25.35, 31.92, 111.27°)
OKLaboklab(35.25% -0.0347 0.0657)
OKLCHoklch(35.25% 0.074 117.9)
XYZxyz(3.5192, 4.5295, 0.9760)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38400A #120A40
analogous
#402D0A #38400A #1D400A
triadic
#38400A #0A3840 #400A38
tetradic
#38400A #0A402D #120A40 #400A1D
square
#38400A #0A402D #120A40 #400A1D
split-complementary
#38400A #0A1D40 #2D0A40
monochromatic
#171A04 #171A04 #38400A #667512 #95AA1B

Accessibility & contrast

On white

11.02
#38400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#38400A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38400A
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38400A#FFFFFF#000000##FFFFFF
##38400A1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C02
Deuteranopia (green-blind)
#443C0F
Tritanopia (blue-blind)
#3C3C36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38400a;
/* rgb */ color: rgb(56, 64, 10);
/* oklch */ color: oklch(35.3% 0.074 117.9);
Tailwind
colors: {
  custom: {
    50: '#71744e',
    500: '#38400a',
    950: '#000000',
  },
}
SCSS
$custom: #38400a;
$custom-light: #71744e;
$custom-dark: #000000;
JSON
{
  "hex": "#38400a",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 68.889,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3525,
    "c": 0.07433,
    "h": 117.9
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#38400A
secondary
#35297D
accent
#38F053
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38400A

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

Preview Lab → · Contrast checker → · Palette generator →

#38400A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva