#515B15#515B15

#515B15 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.8% C 0.092 H 117.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#515B15
RGBrgb(81, 91, 21)
HSLhsl(69, 63%, 22%)
HSVhsv(69, 77%, 36%)
CMYKcmyk(11%, 0%, 76.9%, 64.3%)
CIE-LABlab(36.53, -14.17, 36.77)
CIE-LCHlch(36.53, 39.41, 111.08°)
OKLaboklab(44.8% -0.0424 0.0818)
OKLCHoklch(44.8% 0.092 117.4)
XYZxyz(7.2699, 9.2857, 2.1187)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B15 #1F155B
analogous
#5B4215 #515B15 #2E5B15
triadic
#515B15 #15515B #5B1551
tetradic
#515B15 #155B42 #1F155B #5B152E
square
#515B15 #155B42 #1F155B #5B152E
split-complementary
#515B15 #152E5B #42155B
monochromatic
#161906 #25290A #515B15 #7D8D20 #AABE2C

Accessibility & contrast

On white

7.35
#515B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#515B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515B15
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B15#FFFFFF#000000##FFFFFF
##515B151.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625608
Deuteranopia (green-blind)
#61561B
Tritanopia (blue-blind)
#56564D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b15;
/* rgb */ color: rgb(81, 91, 21);
/* oklch */ color: oklch(44.8% 0.092 117.4);
Tailwind
colors: {
  custom: {
    50: '#848958',
    500: '#515b15',
    950: '#000000',
  },
}
SCSS
$custom: #515b15;
$custom-light: #848958;
$custom-dark: #000000;
JSON
{
  "hex": "#515b15",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 68.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44798,
    "c": 0.09215,
    "h": 117.4
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#515B15
secondary
#463992
accent
#42E65A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515B15

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

Preview Lab → · Contrast checker → · Palette generator →

#515B15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva