#515A19#515A19

#515A19 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.6% C 0.088 H 116.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#515A19
RGBrgb(81, 90, 25)
HSLhsl(68, 57%, 23%)
HSVhsv(68, 72%, 35%)
CMYKcmyk(10%, 0%, 72.2%, 64.7%)
CIE-LABlab(36.24, -13.35, 34.77)
CIE-LCHlch(36.24, 37.24, 111.01°)
OKLaboklab(44.57% -0.0397 0.0783)
OKLCHoklch(44.57% 0.088 116.9)
XYZxyz(7.2251, 9.1319, 2.3015)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515A19 #22195A
analogous
#5A4319 #515A19 #305A19
triadic
#515A19 #19515A #5A1951
tetradic
#515A19 #195A43 #22195A #5A1930
square
#515A19 #195A43 #22195A #5A1930
split-complementary
#515A19 #19305A #43195A
monochromatic
#161807 #262A0C #515A19 #7C8A26 #A7BA34

Accessibility & contrast

On white

7.43
#515A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#515A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515A19
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515A19#FFFFFF#000000##FFFFFF
##515A191.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515a19;
/* rgb */ color: rgb(81, 90, 25);
/* oklch */ color: oklch(44.6% 0.088 116.9);
Tailwind
colors: {
  custom: {
    50: '#84885a',
    500: '#515a19',
    950: '#000000',
  },
}
SCSS
$custom: #515a19;
$custom-light: #84885a;
$custom-dark: #000000;
JSON
{
  "hex": "#515a19",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 68.308,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44573,
    "c": 0.08781,
    "h": 116.9
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#515A19
secondary
#4A3E90
accent
#48E05D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515A19

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

Preview Lab → · Contrast checker → · Palette generator →

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