#515A10#515A10

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

Color values

HEX#515A10
RGBrgb(81, 90, 16)
HSLhsl(67, 70%, 21%)
HSVhsv(67, 82%, 35%)
CMYKcmyk(10%, 0%, 82.2%, 64.7%)
CIE-LABlab(36.17, -13.89, 38.35)
CIE-LCHlch(36.17, 40.79, 109.90°)
OKLaboklab(44.5% -0.0421 0.0842)
OKLCHoklch(44.5% 0.094 116.6)
XYZxyz(7.1432, 9.0992, 1.8701)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515A10 #19105A
analogous
#5A3E10 #515A10 #2C5A10
triadic
#515A10 #10515A #5A1051
tetradic
#515A10 #105A3E #19105A #5A102C
square
#515A10 #105A3E #19105A #5A102C
split-complementary
#515A10 #102C5A #3E105A
monochromatic
#171A05 #222607 #515A10 #808E19 #AFC222

Accessibility & contrast

On white

7.45
#515A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515A10
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515A10#FFFFFF#000000##FFFFFF
##515A101.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#605617
Tritanopia (blue-blind)
#57544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515a10;
/* rgb */ color: rgb(81, 90, 16);
/* oklch */ color: oklch(44.5% 0.094 116.6);
Tailwind
colors: {
  custom: {
    50: '#848855',
    500: '#515a10',
    950: '#000000',
  },
}
SCSS
$custom: #515a10;
$custom-light: #848855;
$custom-dark: #000000;
JSON
{
  "hex": "#515a10",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 67.297,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44503,
    "c": 0.09413,
    "h": 116.6
  },
  "luminance": 0.09099
}

Semantic roles & 50–950 ramp

primary
#515A10
secondary
#3E3393
accent
#3BED51
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515A10

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

Preview Lab → · Contrast checker → · Palette generator →

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