#515C10#515C10

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

Color values

HEX#515C10
RGBrgb(81, 92, 16)
HSLhsl(69, 70%, 21%)
HSVhsv(69, 83%, 36%)
CMYKcmyk(12%, 0%, 82.6%, 63.9%)
CIE-LABlab(36.82, -15.00, 38.95)
CIE-LCHlch(36.82, 41.74, 111.06°)
OKLaboklab(45.02% -0.0452 0.0854)
OKLCHoklch(45.02% 0.097 117.9)
XYZxyz(7.3142, 9.4411, 1.9271)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C10 #1B105C
analogous
#5C4110 #515C10 #2B5C10
triadic
#515C10 #10515C #5C1051
tetradic
#515C10 #105C41 #1B105C #5C102B
square
#515C10 #105C41 #1B105C #5C102B
split-complementary
#515C10 #102B5C #41105C
monochromatic
#171A05 #232807 #515C10 #7F9019 #ADC422

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515C10#FFFFFF#000000##FFFFFF
##515C101.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)
#625717
Tritanopia (blue-blind)
#56564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515c10;
/* rgb */ color: rgb(81, 92, 16);
/* oklch */ color: oklch(45.0% 0.097 117.9);
Tailwind
colors: {
  custom: {
    50: '#858a56',
    500: '#515c10',
    950: '#000000',
  },
}
SCSS
$custom: #515c10;
$custom-light: #858a56;
$custom-dark: #000000;
JSON
{
  "hex": "#515c10",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 68.684,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45022,
    "c": 0.09665,
    "h": 117.9
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#515C10
secondary
#413395
accent
#3BED54
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515C10

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

Preview Lab → · Contrast checker → · Palette generator →

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