#515E0D#515E0D

#515E0D is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.5% C 0.101 H 119.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#515E0D
RGBrgb(81, 94, 13)
HSLhsl(70, 76%, 21%)
HSVhsv(70, 86%, 37%)
CMYKcmyk(13.8%, 0%, 86.2%, 63.1%)
CIE-LABlab(37.45, -16.23, 40.50)
CIE-LCHlch(37.45, 43.64, 111.84°)
OKLaboklab(45.53% -0.0488 0.0882)
OKLCHoklch(45.53% 0.101 119)
XYZxyz(7.4689, 9.7839, 1.8757)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E0D #1A0D5E
analogous
#5E420D #515E0D #285E0D
triadic
#515E0D #0D515E #5E0D51
tetradic
#515E0D #0D5E42 #1A0D5E #5E0D28
square
#515E0D #0D5E42 #1A0D5E #5E0D28
split-complementary
#515E0D #0D285E #420D5E
monochromatic
#171B04 #232806 #515E0D #7F9414 #AECA1C

Accessibility & contrast

On white

7.10
#515E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#515E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515E0D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515E0D#FFFFFF#000000##FFFFFF
##515E0D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#635815
Tritanopia (blue-blind)
#56584F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515e0d;
/* rgb */ color: rgb(81, 94, 13);
/* oklch */ color: oklch(45.5% 0.101 119.0);
Tailwind
colors: {
  custom: {
    50: '#858b55',
    500: '#515e0d',
    950: '#000000',
  },
}
SCSS
$custom: #515e0d;
$custom-light: #858b55;
$custom-dark: #000000;
JSON
{
  "hex": "#515e0d",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 13
  },
  "hsl": {
    "h": 69.63,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.10078,
    "h": 119
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#515E0D
secondary
#402F98
accent
#36F254
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #515E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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