#515C38#515C38

#515C38 is a mid, muted yellow-green. Relative luminance 0.097; OKLCH L 45.5% C 0.057 H 122.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#515C38
RGBrgb(81, 92, 56)
HSLhsl(78, 24%, 29%)
HSVhsv(78, 39%, 36%)
CMYKcmyk(12%, 0%, 39.1%, 63.9%)
CIE-LABlab(37.28, -11.13, 19.33)
CIE-LCHlch(37.28, 22.30, 119.93°)
OKLaboklab(45.54% -0.0304 0.0477)
OKLCHoklch(45.54% 0.057 122.5)
XYZxyz(7.9343, 9.6891, 5.1928)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C38 #43385C
analogous
#5C5538 #515C38 #3F5C38
triadic
#515C38 #38515C #5C3851
tetradic
#515C38 #385C55 #43385C #5C383F
square
#515C38 #385C55 #43385C #5C383F
split-complementary
#515C38 #383F5C #55385C
monochromatic
#11130C #303621 #515C38 #72824F #93A46A

Accessibility & contrast

On white

7.15
#515C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#515C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515C38
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515C38#FFFFFF#000000##FFFFFF
##515C381.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605835
Deuteranopia (green-blind)
#5F583A
Tritanopia (blue-blind)
#545953
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515c38;
/* rgb */ color: rgb(81, 92, 56);
/* oklch */ color: oklch(45.5% 0.057 122.5);
Tailwind
colors: {
  custom: {
    50: '#828a6f',
    500: '#515c38',
    950: '#000000',
  },
}
SCSS
$custom: #515c38;
$custom-light: #828a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#515c38",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 56
  },
  "hsl": {
    "h": 78.333,
    "s": 24.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.45538,
    "c": 0.05656,
    "h": 122.5
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#515C38
secondary
#70638C
accent
#67C182
background
#F8F8F6
surface
#EFF0EC
border
#CACBC7
text
#0A0B07
muted
#7C7C7A

Preview Lab

Preview with #515C38

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

Preview Lab → · Contrast checker → · Palette generator →

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