#51400D#51400D

#51400D is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 38.0% C 0.070 H 89.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#51400D
RGBrgb(81, 64, 13)
HSLhsl(45, 72%, 18%)
HSVhsv(45, 84%, 32%)
CMYKcmyk(0%, 21%, 84%, 68.2%)
CIE-LABlab(27.97, 1.50, 31.89)
CIE-LCHlch(27.97, 31.93, 87.31°)
OKLaboklab(37.96% 0.0008 0.0698)
OKLCHoklch(37.96% 0.07 89.4)
XYZxyz(5.2997, 5.4455, 1.1526)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51400D #0D1E51
analogous
#511E0D #51400D #40510D
triadic
#51400D #0D5140 #400D51
tetradic
#51400D #0D511E #0D1E51 #510D40
square
#51400D #0D511E #0D1E51 #510D40
split-complementary
#51400D #0D4051 #1E0D51
monochromatic
#1A1504 #1C1605 #51400D #866A15 #BA931E

Accessibility & contrast

On white

10.05
#51400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#51400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51400D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51400D#FFFFFF#000000##FFFFFF
##51400D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F05
Deuteranopia (green-blind)
#4D4410
Tritanopia (blue-blind)
#583A36
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #51400d;
/* rgb */ color: rgb(81, 64, 13);
/* oklch */ color: oklch(38.0% 0.070 89.4);
Tailwind
colors: {
  custom: {
    50: '#857450',
    500: '#51400d',
    950: '#000000',
  },
}
SCSS
$custom: #51400d;
$custom-light: #857450;
$custom-dark: #000000;
JSON
{
  "hex": "#51400d",
  "rgb": {
    "r": 81,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 45,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37962,
    "c": 0.06978,
    "h": 89.4
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#51400D
secondary
#2E458C
accent
#66EF39
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #51400D

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

Preview Lab → · Contrast checker → · Palette generator →

#51400D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva