#515B2E#515B2E

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

Color values

HEX#515B2E
RGBrgb(81, 91, 46)
HSLhsl(73, 33%, 27%)
HSVhsv(73, 49%, 36%)
CMYKcmyk(11%, 0%, 49.5%, 64.3%)
CIE-LABlab(36.80, -11.91, 24.53)
CIE-LCHlch(36.80, 27.27, 115.89°)
OKLaboklab(45.1% -0.0333 0.0589)
OKLCHoklch(45.1% 0.068 119.5)
XYZxyz(7.6276, 9.4288, 4.0023)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B2E #382E5B
analogous
#5B4F2E #515B2E #3B5B2E
triadic
#515B2E #2E515B #5B2E51
tetradic
#515B2E #2E5B4F #382E5B #5B2E3B
square
#515B2E #2E5B4F #382E5B #5B2E3B
split-complementary
#515B2E #2E3B5B #4F2E5B
monochromatic
#12140A #2D3219 #515B2E #758443 #99AB59

Accessibility & contrast

On white

7.28
#515B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515B2E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B2E#FFFFFF#000000##FFFFFF
##515B2E1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572A
Deuteranopia (green-blind)
#5F5730
Tritanopia (blue-blind)
#555750
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515b2e;
/* rgb */ color: rgb(81, 91, 46);
/* oklch */ color: oklch(45.1% 0.068 119.5);
Tailwind
colors: {
  custom: {
    50: '#838968',
    500: '#515b2e',
    950: '#000000',
  },
}
SCSS
$custom: #515b2e;
$custom-light: #838968;
$custom-dark: #000000;
JSON
{
  "hex": "#515b2e",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 46
  },
  "hsl": {
    "h": 73.333,
    "s": 32.847,
    "l": 26.863
  },
  "oklch": {
    "l": 0.451,
    "c": 0.06771,
    "h": 119.5
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#515B2E
secondary
#64588D
accent
#5FC976
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #515B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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