#515C16#515C16

#515C16 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#515C16
RGBrgb(81, 92, 22)
HSLhsl(69, 61%, 22%)
HSVhsv(69, 76%, 36%)
CMYKcmyk(12%, 0%, 76.1%, 63.9%)
CIE-LABlab(36.86, -14.67, 36.68)
CIE-LCHlch(36.86, 39.51, 111.79°)
OKLaboklab(45.07% -0.0437 0.0818)
OKLCHoklch(45.07% 0.093 118.1)
XYZxyz(7.3655, 9.4616, 2.1972)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C16 #21165C
analogous
#5C4416 #515C16 #2E5C16
triadic
#515C16 #16515C #5C1651
tetradic
#515C16 #165C44 #21165C #5C162E
square
#515C16 #165C44 #21165C #5C162E
split-complementary
#515C16 #162E5C #44165C
monochromatic
#161906 #262B0A #515C16 #7C8D22 #A8BF2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #515c16;
/* rgb */ color: rgb(81, 92, 22);
/* oklch */ color: oklch(45.1% 0.093 118.1);
Tailwind
colors: {
  custom: {
    50: '#848a59',
    500: '#515c16',
    950: '#000000',
  },
}
SCSS
$custom: #515c16;
$custom-light: #848a59;
$custom-dark: #000000;
JSON
{
  "hex": "#515c16",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 69.429,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45065,
    "c": 0.09275,
    "h": 118.1
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#515C16
secondary
#493B93
accent
#43E55D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515C16

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

Preview Lab → · Contrast checker → · Palette generator →

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