#515C0E#515C0E

#515C0E is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.098 H 117.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#515C0E
RGBrgb(81, 92, 14)
HSLhsl(68, 74%, 21%)
HSVhsv(68, 85%, 36%)
CMYKcmyk(12%, 0%, 84.8%, 63.9%)
CIE-LABlab(36.81, -15.09, 39.62)
CIE-LCHlch(36.81, 42.39, 110.86°)
OKLaboklab(45.01% -0.0456 0.0865)
OKLCHoklch(45.01% 0.098 117.8)
XYZxyz(7.2999, 9.4354, 1.8520)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C0E #190E5C
analogous
#5C400E #515C0E #2A5C0E
triadic
#515C0E #0E515C #5C0E51
tetradic
#515C0E #0E5C40 #190E5C #5C0E2A
square
#515C0E #0E5C40 #190E5C #5C0E2A
split-complementary
#515C0E #0E2A5C #400E5C
monochromatic
#171B04 #222706 #515C0E #809116 #AFC61E

Accessibility & contrast

On white

7.27
#515C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#515C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515C0E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515C0E#FFFFFF#000000##FFFFFF
##515C0E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#57564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515c0e;
/* rgb */ color: rgb(81, 92, 14);
/* oklch */ color: oklch(45.0% 0.098 117.8);
Tailwind
colors: {
  custom: {
    50: '#858a55',
    500: '#515c0e',
    950: '#000000',
  },
}
SCSS
$custom: #515c0e;
$custom-light: #858a55;
$custom-dark: #000000;
JSON
{
  "hex": "#515c0e",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 14
  },
  "hsl": {
    "h": 68.462,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.09776,
    "h": 117.8
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#515C0E
secondary
#3E3096
accent
#38F052
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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