#515B2F#515B2F

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

Color values

HEX#515B2F
RGBrgb(81, 91, 47)
HSLhsl(74, 32%, 27%)
HSVhsv(74, 48%, 36%)
CMYKcmyk(11%, 0%, 48.4%, 64.3%)
CIE-LABlab(36.81, -11.78, 23.98)
CIE-LCHlch(36.81, 26.72, 116.17°)
OKLaboklab(45.12% -0.0329 0.0578)
OKLCHoklch(45.12% 0.066 119.6)
XYZxyz(7.6476, 9.4368, 4.1074)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B2F #392F5B
analogous
#5B4F2F #515B2F #3B5B2F
triadic
#515B2F #2F515B #5B2F51
tetradic
#515B2F #2F5B4F #392F5B #5B2F3B
square
#515B2F #2F5B4F #392F5B #5B2F3B
split-complementary
#515B2F #2F3B5B #4F2F5B
monochromatic
#12140A #2D331A #515B2F #758344 #98AA5A

Accessibility & contrast

On white

7.27
#515B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515B2F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B2F#FFFFFF#000000##FFFFFF
##515B2F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572B
Deuteranopia (green-blind)
#5F5731
Tritanopia (blue-blind)
#555751
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515b2f;
/* rgb */ color: rgb(81, 91, 47);
/* oklch */ color: oklch(45.1% 0.066 119.6);
Tailwind
colors: {
  custom: {
    50: '#838968',
    500: '#515b2f',
    950: '#000000',
  },
}
SCSS
$custom: #515b2f;
$custom-light: #838968;
$custom-dark: #000000;
JSON
{
  "hex": "#515b2f",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 47
  },
  "hsl": {
    "h": 73.636,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.06649,
    "h": 119.6
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#515B2F
secondary
#65598D
accent
#60C877
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0B06
muted
#7C7C7A

Preview Lab

Preview with #515B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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