#515B38#515B38

#515B38 is a mid, muted yellow-green. Relative luminance 0.095; OKLCH L 45.3% C 0.055 H 121.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#515B38
RGBrgb(81, 91, 56)
HSLhsl(77, 24%, 29%)
HSVhsv(77, 38%, 36%)
CMYKcmyk(11%, 0%, 38.5%, 64.3%)
CIE-LABlab(36.96, -10.55, 18.92)
CIE-LCHlch(36.96, 21.66, 119.16°)
OKLaboklab(45.29% -0.0287 0.0468)
OKLCHoklch(45.29% 0.055 121.6)
XYZxyz(7.8482, 9.5170, 5.1641)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B38 #42385B
analogous
#5B5438 #515B38 #405B38
triadic
#515B38 #38515B #5B3851
tetradic
#515B38 #385B54 #42385B #5B3840
square
#515B38 #385B54 #42385B #5B3840
split-complementary
#515B38 #38405B #54385B
monochromatic
#11130C #2F3521 #515B38 #73814F #93A36A

Accessibility & contrast

On white

7.23
#515B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#515B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515B38
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B38#FFFFFF#000000##FFFFFF
##515B381.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5736
Deuteranopia (green-blind)
#5E573A
Tritanopia (blue-blind)
#545852
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515b38;
/* rgb */ color: rgb(81, 91, 56);
/* oklch */ color: oklch(45.3% 0.055 121.6);
Tailwind
colors: {
  custom: {
    50: '#82896f',
    500: '#515b38',
    950: '#000000',
  },
}
SCSS
$custom: #515b38;
$custom-light: #82896f;
$custom-dark: #000000;
JSON
{
  "hex": "#515b38",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 56
  },
  "hsl": {
    "h": 77.143,
    "s": 23.81,
    "l": 28.824
  },
  "oklch": {
    "l": 0.45285,
    "c": 0.05488,
    "h": 121.6
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#515B38
secondary
#6F648B
accent
#68C081
background
#F8F8F6
surface
#EFF0EC
border
#CACBC7
text
#0A0B07
muted
#7C7C7A

Preview Lab

Preview with #515B38

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

Preview Lab → · Contrast checker → · Palette generator →

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