#515A15#515A15

#515A15 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.5% C 0.091 H 116.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#515A15
RGBrgb(81, 90, 21)
HSLhsl(68, 62%, 22%)
HSVhsv(68, 77%, 35%)
CMYKcmyk(10%, 0%, 76.7%, 64.7%)
CIE-LABlab(36.21, -13.61, 36.46)
CIE-LCHlch(36.21, 38.92, 110.48°)
OKLaboklab(44.54% -0.0409 0.0812)
OKLCHoklch(44.54% 0.091 116.7)
XYZxyz(7.1850, 9.1159, 2.0904)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515A15 #1E155A
analogous
#5A4115 #515A15 #2F5A15
triadic
#515A15 #15515A #5A1551
tetradic
#515A15 #155A41 #1E155A #5A152F
square
#515A15 #155A41 #1E155A #5A152F
split-complementary
#515A15 #152F5A #41155A
monochromatic
#161906 #242809 #515A15 #7E8C21 #AABD2C

Accessibility & contrast

On white

7.44
#515A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#515A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515A15
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515A15#FFFFFF#000000##FFFFFF
##515A151.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615509
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#56554D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515a15;
/* rgb */ color: rgb(81, 90, 21);
/* oklch */ color: oklch(44.5% 0.091 116.7);
Tailwind
colors: {
  custom: {
    50: '#848858',
    500: '#515a15',
    950: '#000000',
  },
}
SCSS
$custom: #515a15;
$custom-light: #848858;
$custom-dark: #000000;
JSON
{
  "hex": "#515a15",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 67.826,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.09086,
    "h": 116.7
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#515A15
secondary
#453992
accent
#43E558
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515A15

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

Preview Lab → · Contrast checker → · Palette generator →

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