#51591D#51591D

#51591D is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.4% C 0.083 H 116.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#51591D
RGBrgb(81, 89, 29)
HSLhsl(68, 51%, 23%)
HSVhsv(68, 67%, 35%)
CMYKcmyk(9%, 0%, 67.4%, 65.1%)
CIE-LABlab(35.95, -12.49, 32.59)
CIE-LCHlch(35.95, 34.91, 110.97°)
OKLaboklab(44.36% -0.0368 0.0744)
OKLCHoklch(44.36% 0.083 116.3)
XYZxyz(7.1876, 8.9829, 2.5174)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51591D #251D59
analogous
#59431D #51591D #33591D
triadic
#51591D #1D5159 #591D51
tetradic
#51591D #1D5943 #251D59 #591D33
square
#51591D #1D5943 #251D59 #591D33
split-complementary
#51591D #1D3359 #431D59
monochromatic
#151708 #272B0E #51591D #7B872C #A5B53B

Accessibility & contrast

On white

7.51
#51591D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#51591D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51591D
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51591D#FFFFFF#000000##FFFFFF
##51591D1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5416
Deuteranopia (green-blind)
#5F5521
Tritanopia (blue-blind)
#56544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #51591d;
/* rgb */ color: rgb(81, 89, 29);
/* oklch */ color: oklch(44.4% 0.083 116.3);
Tailwind
colors: {
  custom: {
    50: '#84875c',
    500: '#51591d',
    950: '#000000',
  },
}
SCSS
$custom: #51591d;
$custom-light: #84875c;
$custom-dark: #000000;
JSON
{
  "hex": "#51591d",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 29
  },
  "hsl": {
    "h": 68,
    "s": 50.847,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44355,
    "c": 0.08303,
    "h": 116.3
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#51591D
secondary
#4E448E
accent
#4DDA60
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #51591D

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

Preview Lab → · Contrast checker → · Palette generator →

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