#515D1D#515D1D

#515D1D is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.4% C 0.089 H 119.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#515D1D
RGBrgb(81, 93, 29)
HSLhsl(71, 52%, 24%)
HSVhsv(71, 69%, 36%)
CMYKcmyk(12.9%, 0%, 68.8%, 63.5%)
CIE-LABlab(37.24, -14.73, 33.97)
CIE-LCHlch(37.24, 37.02, 113.45°)
OKLaboklab(45.39% -0.0431 0.0773)
OKLCHoklch(45.39% 0.089 119.1)
XYZxyz(7.5296, 9.6668, 2.6314)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D1D #291D5D
analogous
#5D491D #515D1D #315D1D
triadic
#515D1D #1D515D #5D1D51
tetradic
#515D1D #1D5D49 #291D5D #5D1D31
square
#515D1D #1D5D49 #291D5D #5D1D31
split-complementary
#515D1D #1D315D #491D5D
monochromatic
#141707 #282E0E #515D1D #7A8C2C #A2BA3A

Accessibility & contrast

On white

7.16
#515D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#515D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515D1D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D1D#FFFFFF#000000##FFFFFF
##515D1D1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635815
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#565850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515d1d;
/* rgb */ color: rgb(81, 93, 29);
/* oklch */ color: oklch(45.4% 0.089 119.1);
Tailwind
colors: {
  custom: {
    50: '#848a5d',
    500: '#515d1d',
    950: '#000000',
  },
}
SCSS
$custom: #515d1d;
$custom-light: #848a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#515d1d",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 29
  },
  "hsl": {
    "h": 71.25,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.08851,
    "h": 119.1
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#515D1D
secondary
#524492
accent
#4CDC67
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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