#515D2E#515D2E

#515D2E is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.6% C 0.071 H 121.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#515D2E
RGBrgb(81, 93, 46)
HSLhsl(75, 34%, 27%)
HSVhsv(75, 51%, 36%)
CMYKcmyk(12.9%, 0%, 50.5%, 63.5%)
CIE-LABlab(37.44, -13.04, 25.31)
CIE-LCHlch(37.44, 28.47, 117.25°)
OKLaboklab(45.61% -0.0365 0.0607)
OKLCHoklch(45.61% 0.071 121)
XYZxyz(7.8009, 9.7753, 4.0601)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D2E #3A2E5D
analogous
#5D522E #515D2E #3A5D2E
triadic
#515D2E #2E515D #5D2E51
tetradic
#515D2E #2E5D52 #3A2E5D #5D2E3A
square
#515D2E #2E5D52 #3A2E5D #5D2E3A
split-complementary
#515D2E #2E3A5D #522E5D
monochromatic
#12140A #2D341A #515D2E #758642 #97AD59

Accessibility & contrast

On white

7.11
#515D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#515D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515D2E
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D2E#FFFFFF#000000##FFFFFF
##515D2E1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62582A
Deuteranopia (green-blind)
#605831
Tritanopia (blue-blind)
#555952
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515d2e;
/* rgb */ color: rgb(81, 93, 46);
/* oklch */ color: oklch(45.6% 0.071 121.0);
Tailwind
colors: {
  custom: {
    50: '#838a68',
    500: '#515d2e',
    950: '#000000',
  },
}
SCSS
$custom: #515d2e;
$custom-light: #838a68;
$custom-dark: #000000;
JSON
{
  "hex": "#515d2e",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 46
  },
  "hsl": {
    "h": 75.319,
    "s": 33.813,
    "l": 27.255
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.07083,
    "h": 121
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#515D2E
secondary
#66588F
accent
#5ECA79
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #515D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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