#515D2B#515D2B

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

Color values

HEX#515D2B
RGBrgb(81, 93, 43)
HSLhsl(74, 37%, 27%)
HSVhsv(74, 54%, 36%)
CMYKcmyk(12.9%, 0%, 53.8%, 63.5%)
CIE-LABlab(37.39, -13.39, 26.93)
CIE-LCHlch(37.39, 30.08, 116.44°)
OKLaboklab(45.57% -0.0378 0.064)
OKLCHoklch(45.57% 0.074 120.6)
XYZxyz(7.7438, 9.7525, 3.7595)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D2B #372B5D
analogous
#5D502B #515D2B #385D2B
triadic
#515D2B #2B515D #5D2B51
tetradic
#515D2B #2B5D50 #372B5D #5D2B38
square
#515D2B #2B5D50 #372B5D #5D2B38
split-complementary
#515D2B #2B385D #502B5D
monochromatic
#12150A #2D3318 #515D2B #75873E #99AF53

Accessibility & contrast

On white

7.12
#515D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515D2B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D2B#FFFFFF#000000##FFFFFF
##515D2B1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625826
Deuteranopia (green-blind)
#61582E
Tritanopia (blue-blind)
#555952
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515d2b;
/* rgb */ color: rgb(81, 93, 43);
/* oklch */ color: oklch(45.6% 0.074 120.6);
Tailwind
colors: {
  custom: {
    50: '#838a66',
    500: '#515d2b',
    950: '#000000',
  },
}
SCSS
$custom: #515d2b;
$custom-light: #838a66;
$custom-dark: #000000;
JSON
{
  "hex": "#515d2b",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 43
  },
  "hsl": {
    "h": 74.4,
    "s": 36.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45565,
    "c": 0.07433,
    "h": 120.6
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#515D2B
secondary
#63558F
accent
#5BCD76
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #515D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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