#51590E#51590E

#51590E is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.2% C 0.094 H 115.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#51590E
RGBrgb(81, 89, 14)
HSLhsl(66, 73%, 20%)
HSVhsv(66, 84%, 35%)
CMYKcmyk(9%, 0%, 84.3%, 65.1%)
CIE-LABlab(35.84, -13.42, 38.74)
CIE-LCHlch(35.84, 41.00, 109.10°)
OKLaboklab(44.23% -0.041 0.0846)
OKLCHoklch(44.23% 0.094 115.9)
XYZxyz(7.0452, 8.9259, 1.7671)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51590E #160E59
analogous
#593B0E #51590E #2B590E
triadic
#51590E #0E5159 #590E51
tetradic
#51590E #0E593B #160E59 #590E2B
square
#51590E #0E593B #160E59 #590E2B
split-complementary
#51590E #0E2B59 #3B0E59
monochromatic
#181A04 #212406 #51590E #818E16 #B1C31F

Accessibility & contrast

On white

7.54
#51590E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#51590E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51590E
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51590E#FFFFFF#000000##FFFFFF
##51590E1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5F5515
Tritanopia (blue-blind)
#57534B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #51590e;
/* rgb */ color: rgb(81, 89, 14);
/* oklch */ color: oklch(44.2% 0.094 115.9);
Tailwind
colors: {
  custom: {
    50: '#858754',
    500: '#51590e',
    950: '#000000',
  },
}
SCSS
$custom: #51590e;
$custom-light: #858754;
$custom-dark: #000000;
JSON
{
  "hex": "#51590e",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 14
  },
  "hsl": {
    "h": 66.4,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.09402,
    "h": 115.9
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#51590E
secondary
#3A3093
accent
#38F04C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #51590E

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

Preview Lab → · Contrast checker → · Palette generator →

#51590E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva