#515C17#515C17

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

Color values

HEX#515C17
RGBrgb(81, 92, 23)
HSLhsl(70, 60%, 23%)
HSVhsv(70, 75%, 36%)
CMYKcmyk(12%, 0%, 75%, 63.9%)
CIE-LABlab(36.87, -14.61, 36.27)
CIE-LCHlch(36.87, 39.10, 111.93°)
OKLaboklab(45.07% -0.0434 0.0811)
OKLCHoklch(45.07% 0.092 118.1)
XYZxyz(7.3753, 9.4656, 2.2489)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C17 #22175C
analogous
#5C4417 #515C17 #2F5C17
triadic
#515C17 #17515C #5C1751
tetradic
#515C17 #175C44 #22175C #5C172F
square
#515C17 #175C44 #22175C #5C172F
split-complementary
#515C17 #172F5C #44175C
monochromatic
#161806 #262B0B #515C17 #7C8D23 #A7BE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515C17#FFFFFF#000000##FFFFFF
##515C171.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)
#62570C
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#56574E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515c17;
/* rgb */ color: rgb(81, 92, 23);
/* oklch */ color: oklch(45.1% 0.092 118.1);
Tailwind
colors: {
  custom: {
    50: '#848a59',
    500: '#515c17',
    950: '#000000',
  },
}
SCSS
$custom: #515c17;
$custom-light: #848a59;
$custom-dark: #000000;
JSON
{
  "hex": "#515c17",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 69.565,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45073,
    "c": 0.09201,
    "h": 118.1
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#515C17
secondary
#4A3C93
accent
#45E35E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515C17

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

Preview Lab → · Contrast checker → · Palette generator →

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