#515A14#515A14

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

Color values

HEX#515A14
RGBrgb(81, 90, 20)
HSLhsl(68, 64%, 22%)
HSVhsv(68, 78%, 35%)
CMYKcmyk(10%, 0%, 77.8%, 64.7%)
CIE-LABlab(36.20, -13.67, 36.86)
CIE-LCHlch(36.20, 39.31, 110.35°)
OKLaboklab(44.53% -0.0411 0.0818)
OKLCHoklch(44.53% 0.092 116.7)
XYZxyz(7.1759, 9.1123, 2.0425)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515A14 #1D145A
analogous
#5A4014 #515A14 #2E5A14
triadic
#515A14 #14515A #5A1451
tetradic
#515A14 #145A40 #1D145A #5A142E
square
#515A14 #145A40 #1D145A #5A142E
split-complementary
#515A14 #142E5A #40145A
monochromatic
#171906 #242809 #515A14 #7E8C1F #ABBE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515A14#FFFFFF#000000##FFFFFF
##515A141.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)
#615507
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#57554C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515a14;
/* rgb */ color: rgb(81, 90, 20);
/* oklch */ color: oklch(44.5% 0.092 116.7);
Tailwind
colors: {
  custom: {
    50: '#848857',
    500: '#515a14',
    950: '#000000',
  },
}
SCSS
$custom: #515a14;
$custom-light: #848857;
$custom-dark: #000000;
JSON
{
  "hex": "#515a14",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 67.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44531,
    "c": 0.09156,
    "h": 116.7
  },
  "luminance": 0.09112
}

Semantic roles & 50–950 ramp

primary
#515A14
secondary
#443892
accent
#41E756
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515A14

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

Preview Lab → · Contrast checker → · Palette generator →

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