#515B2B#515B2B

#515B2B is a mid, moderate yellow-green. Relative luminance 0.094; OKLCH L 45.1% C 0.071 H 119.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#515B2B
RGBrgb(81, 91, 43)
HSLhsl(73, 36%, 26%)
HSVhsv(73, 53%, 36%)
CMYKcmyk(11%, 0%, 52.7%, 64.3%)
CIE-LABlab(36.75, -12.26, 26.17)
CIE-LCHlch(36.75, 28.90, 115.11°)
OKLaboklab(45.05% -0.0346 0.0623)
OKLCHoklch(45.05% 0.071 119.1)
XYZxyz(7.5705, 9.4060, 3.7017)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B2B #352B5B
analogous
#5B4D2B #515B2B #395B2B
triadic
#515B2B #2B515B #5B2B51
tetradic
#515B2B #2B5B4D #352B5B #5B2B39
square
#515B2B #2B5B4D #352B5B #5B2B39
split-complementary
#515B2B #2B395B #4D2B5B
monochromatic
#12150A #2C3117 #515B2B #76853F #9BAE53

Accessibility & contrast

On white

7.29
#515B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#515B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515B2B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B2B#FFFFFF#000000##FFFFFF
##515B2B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#5F572E
Tritanopia (blue-blind)
#555750
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b2b;
/* rgb */ color: rgb(81, 91, 43);
/* oklch */ color: oklch(45.1% 0.071 119.1);
Tailwind
colors: {
  custom: {
    50: '#838966',
    500: '#515b2b',
    950: '#000000',
  },
}
SCSS
$custom: #515b2b;
$custom-light: #838966;
$custom-dark: #000000;
JSON
{
  "hex": "#515b2b",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 43
  },
  "hsl": {
    "h": 72.5,
    "s": 35.821,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.07129,
    "h": 119.1
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#515B2B
secondary
#60558D
accent
#5CCC73
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #515B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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