#51590F#51590F

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

Color values

HEX#51590F
RGBrgb(81, 89, 15)
HSLhsl(66, 71%, 20%)
HSVhsv(66, 83%, 35%)
CMYKcmyk(9%, 0%, 83.1%, 65.1%)
CIE-LABlab(35.85, -13.38, 38.41)
CIE-LCHlch(35.85, 40.67, 109.20°)
OKLaboklab(44.24% -0.0408 0.0841)
OKLCHoklch(44.24% 0.093 115.9)
XYZxyz(7.0521, 8.9287, 1.8038)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51590F #170F59
analogous
#593C0F #51590F #2C590F
triadic
#51590F #0F5159 #590F51
tetradic
#51590F #0F593C #170F59 #590F2C
square
#51590F #0F593C #170F59 #590F2C
split-complementary
#51590F #0F2C59 #3C0F59
monochromatic
#181A04 #212506 #51590F #818D18 #B0C221

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51590F#FFFFFF#000000##FFFFFF
##51590F1.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)
#5F5516
Tritanopia (blue-blind)
#57534B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #51590f;
/* rgb */ color: rgb(81, 89, 15);
/* oklch */ color: oklch(44.2% 0.093 115.9);
Tailwind
colors: {
  custom: {
    50: '#858755',
    500: '#51590f',
    950: '#000000',
  },
}
SCSS
$custom: #51590f;
$custom-light: #858755;
$custom-dark: #000000;
JSON
{
  "hex": "#51590f",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 15
  },
  "hsl": {
    "h": 66.486,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.09346,
    "h": 115.9
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#51590F
secondary
#3C3193
accent
#3AEE4D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #51590F

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

Preview Lab → · Contrast checker → · Palette generator →

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