#51540D#51540D

#51540D is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.9% C 0.089 H 112.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#51540D
RGBrgb(81, 84, 13)
HSLhsl(63, 73%, 19%)
HSVhsv(63, 85%, 33%)
CMYKcmyk(3.6%, 0%, 84.5%, 67.1%)
CIE-LABlab(34.23, -10.62, 37.63)
CIE-LCHlch(34.23, 39.10, 105.76°)
OKLaboklab(42.94% -0.0333 0.082)
OKLCHoklch(42.94% 0.089 112.1)
XYZxyz(6.6365, 8.1192, 1.5983)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51540D #100D54
analogous
#54340D #51540D #2E540D
triadic
#51540D #0D5154 #540D51
tetradic
#51540D #0D5434 #100D54 #540D2E
square
#51540D #0D5434 #100D54 #540D2E
split-complementary
#51540D #0D2E54 #340D54
monochromatic
#1A1A04 #1E1F05 #51540D #848915 #B7BE1D

Accessibility & contrast

On white

8.00
#51540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#51540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51540D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51540D#FFFFFF#000000##FFFFFF
##51540D1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5000
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#574E47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #51540d;
/* rgb */ color: rgb(81, 84, 13);
/* oklch */ color: oklch(42.9% 0.089 112.1);
Tailwind
colors: {
  custom: {
    50: '#858353',
    500: '#51540d',
    950: '#000000',
  },
}
SCSS
$custom: #51540d;
$custom-light: #858353;
$custom-dark: #000000;
JSON
{
  "hex": "#51540d",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 62.535,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42938,
    "c": 0.08855,
    "h": 112.1
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#51540D
secondary
#322E8F
accent
#38F040
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51540D

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

Preview Lab → · Contrast checker → · Palette generator →

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