#515910#515910

#515910 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#515910
RGBrgb(81, 89, 16)
HSLhsl(67, 70%, 21%)
HSVhsv(67, 82%, 35%)
CMYKcmyk(9%, 0%, 82%, 65.1%)
CIE-LABlab(35.85, -13.33, 38.06)
CIE-LCHlch(35.85, 40.32, 109.30°)
OKLaboklab(44.24% -0.0406 0.0836)
OKLCHoklch(44.24% 0.093 115.9)
XYZxyz(7.0594, 8.9316, 1.8422)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515910 #181059
analogous
#593C10 #515910 #2C5910
triadic
#515910 #105159 #591051
tetradic
#515910 #10593C #181059 #59102C
square
#515910 #10593C #181059 #59102C
split-complementary
#515910 #102C59 #3C1059
monochromatic
#181A05 #222507 #515910 #808D19 #AFC123

Accessibility & contrast

On white

7.54
#515910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#515910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##515910#FFFFFF#000000##FFFFFF
##5159101.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)
#605401
Deuteranopia (green-blind)
#5F5517
Tritanopia (blue-blind)
#57534B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #515910;
/* rgb */ color: rgb(81, 89, 16);
/* oklch */ color: oklch(44.2% 0.093 115.9);
Tailwind
colors: {
  custom: {
    50: '#848755',
    500: '#515910',
    950: '#000000',
  },
}
SCSS
$custom: #515910;
$custom-light: #848755;
$custom-dark: #000000;
JSON
{
  "hex": "#515910",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 66.575,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.44244,
    "c": 0.09287,
    "h": 115.9
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#515910
secondary
#3D3392
accent
#3BEC4F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515910

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

Preview Lab → · Contrast checker → · Palette generator →

#515910 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva