#515E0E#515E0E

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

Color values

HEX#515E0E
RGBrgb(81, 94, 14)
HSLhsl(70, 74%, 21%)
HSVhsv(70, 85%, 37%)
CMYKcmyk(13.8%, 0%, 85.1%, 63.1%)
CIE-LABlab(37.46, -16.19, 40.19)
CIE-LCHlch(37.46, 43.33, 111.94°)
OKLaboklab(45.53% -0.0486 0.0877)
OKLCHoklch(45.53% 0.1 119)
XYZxyz(7.4755, 9.7865, 1.9106)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E0E #1B0E5E
analogous
#5E430E #515E0E #295E0E
triadic
#515E0E #0E515E #5E0E51
tetradic
#515E0E #0E5E43 #1B0E5E #5E0E29
square
#515E0E #0E5E43 #1B0E5E #5E0E29
split-complementary
#515E0E #0E295E #430E5E
monochromatic
#171B04 #232906 #515E0E #7F9316 #ADC91E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515E0E#FFFFFF#000000##FFFFFF
##515E0E1.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)
#635816
Tritanopia (blue-blind)
#56584F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515e0e;
/* rgb */ color: rgb(81, 94, 14);
/* oklch */ color: oklch(45.5% 0.100 119.0);
Tailwind
colors: {
  custom: {
    50: '#858b55',
    500: '#515e0e',
    950: '#000000',
  },
}
SCSS
$custom: #515e0e;
$custom-light: #858b55;
$custom-dark: #000000;
JSON
{
  "hex": "#515e0e",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 14
  },
  "hsl": {
    "h": 69.75,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45531,
    "c": 0.10028,
    "h": 119
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#515E0E
secondary
#413098
accent
#37F155
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #515E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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