#515B28#515B28

#515B28 is a mid, moderate yellow-green. Relative luminance 0.094; OKLCH L 45.0% C 0.075 H 118.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#515B28
RGBrgb(81, 91, 40)
HSLhsl(72, 39%, 26%)
HSVhsv(72, 56%, 36%)
CMYKcmyk(11%, 0%, 56%, 64.3%)
CIE-LABlab(36.71, -12.59, 27.77)
CIE-LCHlch(36.71, 30.49, 114.39°)
OKLaboklab(45.01% -0.0359 0.0655)
OKLCHoklch(45.01% 0.075 118.7)
XYZxyz(7.5175, 9.3847, 3.4225)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B28 #32285B
analogous
#5B4B28 #515B28 #375B28
triadic
#515B28 #28515B #5B2851
tetradic
#515B28 #285B4B #32285B #5B2837
square
#515B28 #285B4B #32285B #5B2837
split-complementary
#515B28 #28375B #4B285B
monochromatic
#131509 #2B3015 #515B28 #77863B #9DB04D

Accessibility & contrast

On white

7.30
#515B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515B28
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B28#FFFFFF#000000##FFFFFF
##515B281.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615623
Deuteranopia (green-blind)
#5F572B
Tritanopia (blue-blind)
#55564F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b28;
/* rgb */ color: rgb(81, 91, 40);
/* oklch */ color: oklch(45.0% 0.075 118.7);
Tailwind
colors: {
  custom: {
    50: '#838963',
    500: '#515b28',
    950: '#000000',
  },
}
SCSS
$custom: #515b28;
$custom-light: #838963;
$custom-dark: #000000;
JSON
{
  "hex": "#515b28",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 40
  },
  "hsl": {
    "h": 71.765,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45007,
    "c": 0.0747,
    "h": 118.7
  },
  "luminance": 0.09385
}

Semantic roles & 50–950 ramp

primary
#515B28
secondary
#5D518E
accent
#59CF70
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B05
muted
#7C7C7A

Preview Lab

Preview with #515B28

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

Preview Lab → · Contrast checker → · Palette generator →

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