#515C15#515C15

#515C15 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.1% C 0.093 H 118.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#515C15
RGBrgb(81, 92, 21)
HSLhsl(69, 63%, 22%)
HSVhsv(69, 77%, 36%)
CMYKcmyk(12%, 0%, 77.2%, 63.9%)
CIE-LABlab(36.85, -14.73, 37.09)
CIE-LCHlch(36.85, 39.90, 111.66°)
OKLaboklab(45.06% -0.044 0.0825)
OKLCHoklch(45.06% 0.093 118.1)
XYZxyz(7.3560, 9.4578, 2.1474)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C15 #20155C
analogous
#5C4415 #515C15 #2D5C15
triadic
#515C15 #15515C #5C1551
tetradic
#515C15 #155C44 #20155C #5C152D
square
#515C15 #155C44 #20155C #5C152D
split-complementary
#515C15 #152D5C #44155C
monochromatic
#161906 #252A0A #515C15 #7D8E20 #A9C02C

Accessibility & contrast

On white

7.26
#515C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515C15
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515C15#FFFFFF#000000##FFFFFF
##515C151.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635708
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#56574E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515c15;
/* rgb */ color: rgb(81, 92, 21);
/* oklch */ color: oklch(45.1% 0.093 118.1);
Tailwind
colors: {
  custom: {
    50: '#848a58',
    500: '#515c15',
    950: '#000000',
  },
}
SCSS
$custom: #515c15;
$custom-light: #848a58;
$custom-dark: #000000;
JSON
{
  "hex": "#515c15",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 21
  },
  "hsl": {
    "h": 69.296,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.09346,
    "h": 118.1
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#515C15
secondary
#473993
accent
#42E65B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515C15

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

Preview Lab → · Contrast checker → · Palette generator →

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