#515A0F#515A0F

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

Color values

HEX#515A0F
RGBrgb(81, 90, 15)
HSLhsl(67, 71%, 21%)
HSVhsv(67, 83%, 35%)
CMYKcmyk(10%, 0%, 83.3%, 64.7%)
CIE-LABlab(36.17, -13.93, 38.70)
CIE-LCHlch(36.17, 41.13, 109.80°)
OKLaboklab(44.5% -0.0423 0.0847)
OKLCHoklch(44.5% 0.095 116.6)
XYZxyz(7.1359, 9.0962, 1.8317)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515A0F #180F5A
analogous
#5A3D0F #515A0F #2B5A0F
triadic
#515A0F #0F515A #5A0F51
tetradic
#515A0F #0F5A3D #180F5A #5A0F2B
square
#515A0F #0F5A3D #180F5A #5A0F2B
split-complementary
#515A0F #0F2B5A #3D0F5A
monochromatic
#181A04 #222606 #515A0F #808E18 #AFC320

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515A0F#FFFFFF#000000##FFFFFF
##515A0F1.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)
#615500
Deuteranopia (green-blind)
#605616
Tritanopia (blue-blind)
#57544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515a0f;
/* rgb */ color: rgb(81, 90, 15);
/* oklch */ color: oklch(44.5% 0.095 116.6);
Tailwind
colors: {
  custom: {
    50: '#858855',
    500: '#515a0f',
    950: '#000000',
  },
}
SCSS
$custom: #515a0f;
$custom-light: #858855;
$custom-dark: #000000;
JSON
{
  "hex": "#515a0f",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 67.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.44497,
    "c": 0.0947,
    "h": 116.6
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

primary
#515A0F
secondary
#3D3194
accent
#3AEE4F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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