#38400C#38400C

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

Color values

HEX#38400C
RGBrgb(56, 64, 12)
HSLhsl(69, 68%, 15%)
HSVhsv(69, 81%, 25%)
CMYKcmyk(12.5%, 0%, 81.2%, 74.9%)
CIE-LABlab(25.36, -11.46, 28.92)
CIE-LCHlch(25.36, 31.11, 111.62°)
OKLaboklab(35.27% -0.0342 0.0644)
OKLCHoklch(35.27% 0.073 118)
XYZxyz(3.5307, 4.5341, 1.0369)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38400C #140C40
analogous
#402E0C #38400C #1E400C
triadic
#38400C #0C3840 #400C38
tetradic
#38400C #0C402E #140C40 #400C1E
square
#38400C #0C402E #140C40 #400C1E
split-complementary
#38400C #0C1E40 #2E0C40
monochromatic
#171A05 #171A05 #38400C #657416 #92A71F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38400C#FFFFFF#000000##FFFFFF
##38400C1.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)
#453C04
Deuteranopia (green-blind)
#443C10
Tritanopia (blue-blind)
#3C3C36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38400c;
/* rgb */ color: rgb(56, 64, 12);
/* oklch */ color: oklch(35.3% 0.073 118.0);
Tailwind
colors: {
  custom: {
    50: '#71744f',
    500: '#38400c',
    950: '#000000',
  },
}
SCSS
$custom: #38400c;
$custom-light: #71744f;
$custom-dark: #000000;
JSON
{
  "hex": "#38400c",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 69.231,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35266,
    "c": 0.0729,
    "h": 118
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#38400C
secondary
#382C7C
accent
#3DEB57
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38400C

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

Preview Lab → · Contrast checker → · Palette generator →

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