#51591A#51591A

#51591A is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.3% C 0.086 H 116.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#51591A
RGBrgb(81, 89, 26)
HSLhsl(68, 55%, 23%)
HSVhsv(68, 71%, 35%)
CMYKcmyk(9%, 0%, 70.8%, 65.1%)
CIE-LABlab(35.92, -12.72, 33.99)
CIE-LCHlch(35.92, 36.29, 110.52°)
OKLaboklab(44.33% -0.0378 0.0769)
OKLCHoklch(44.33% 0.086 116.2)
XYZxyz(7.1523, 8.9688, 2.3314)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51591A #221A59
analogous
#59411A #51591A #31591A
triadic
#51591A #1A5159 #591A51
tetradic
#51591A #1A5941 #221A59 #591A31
square
#51591A #1A5941 #221A59 #591A31
split-complementary
#51591A #1A3159 #411A59
monochromatic
#161807 #262A0C #51591A #7C8828 #A7B836

Accessibility & contrast

On white

7.52
#51591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#51591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51591A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51591A#FFFFFF#000000##FFFFFF
##51591A1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5411
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#56544C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #51591a;
/* rgb */ color: rgb(81, 89, 26);
/* oklch */ color: oklch(44.3% 0.086 116.2);
Tailwind
colors: {
  custom: {
    50: '#84875a',
    500: '#51591a',
    950: '#000000',
  },
}
SCSS
$custom: #51591a;
$custom-light: #84875a;
$custom-dark: #000000;
JSON
{
  "hex": "#51591a",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 67.619,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44325,
    "c": 0.08566,
    "h": 116.2
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#51591A
secondary
#4A408F
accent
#4ADE5D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #51591A

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

Preview Lab → · Contrast checker → · Palette generator →

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