#38400E#38400E

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

Color values

HEX#38400E
RGBrgb(56, 64, 14)
HSLhsl(70, 64%, 15%)
HSVhsv(70, 78%, 25%)
CMYKcmyk(12.5%, 0%, 78.1%, 74.9%)
CIE-LABlab(25.38, -11.33, 28.04)
CIE-LCHlch(25.38, 30.25, 111.99°)
OKLaboklab(35.28% -0.0336 0.0629)
OKLCHoklch(35.28% 0.071 118.1)
XYZxyz(3.5436, 4.5393, 1.1049)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38400E #160E40
analogous
#402F0E #38400E #1F400E
triadic
#38400E #0E3840 #400E38
tetradic
#38400E #0E402F #160E40 #400E1F
square
#38400E #0E402F #160E40 #400E1F
split-complementary
#38400E #0E1F40 #2F0E40
monochromatic
#161905 #161905 #38400E #647219 #90A424

Accessibility & contrast

On white

11.01
#38400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38400E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38400E#FFFFFF#000000##FFFFFF
##38400E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38400e;
/* rgb */ color: rgb(56, 64, 14);
/* oklch */ color: oklch(35.3% 0.071 118.1);
Tailwind
colors: {
  custom: {
    50: '#707450',
    500: '#38400e',
    950: '#000000',
  },
}
SCSS
$custom: #38400e;
$custom-light: #707450;
$custom-dark: #000000;
JSON
{
  "hex": "#38400e",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 69.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35284,
    "c": 0.07132,
    "h": 118.1
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#38400E
secondary
#3B2F7B
accent
#41E75B
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38400E

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

Preview Lab → · Contrast checker → · Palette generator →

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