#515C18#515C18

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

Color values

HEX#515C18
RGBrgb(81, 92, 24)
HSLhsl(70, 59%, 23%)
HSVhsv(70, 74%, 36%)
CMYKcmyk(12%, 0%, 73.9%, 63.9%)
CIE-LABlab(36.87, -14.54, 35.85)
CIE-LCHlch(36.87, 38.69, 112.07°)
OKLaboklab(45.08% -0.0431 0.0804)
OKLCHoklch(45.08% 0.091 118.2)
XYZxyz(7.3855, 9.4696, 2.3027)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C18 #23185C
analogous
#5C4518 #515C18 #2F5C18
triadic
#515C18 #18515C #5C1851
tetradic
#515C18 #185C45 #23185C #5C182F
square
#515C18 #185C45 #23185C #5C182F
split-complementary
#515C18 #182F5C #45185C
monochromatic
#151806 #262B0B #515C18 #7C8D25 #A6BD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #515c18;
/* rgb */ color: rgb(81, 92, 24);
/* oklch */ color: oklch(45.1% 0.091 118.2);
Tailwind
colors: {
  custom: {
    50: '#848a5a',
    500: '#515c18',
    950: '#000000',
  },
}
SCSS
$custom: #515c18;
$custom-light: #848a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#515c18",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 69.706,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.09125,
    "h": 118.2
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#515C18
secondary
#4B3D93
accent
#46E25F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515C18

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

Preview Lab → · Contrast checker → · Palette generator →

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