#515D2F#515D2F

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

Color values

HEX#515D2F
RGBrgb(81, 93, 47)
HSLhsl(76, 33%, 27%)
HSVhsv(76, 49%, 36%)
CMYKcmyk(12.9%, 0%, 49.5%, 63.5%)
CIE-LABlab(37.45, -12.92, 24.77)
CIE-LCHlch(37.45, 27.93, 117.54°)
OKLaboklab(45.63% -0.0361 0.0595)
OKLCHoklch(45.63% 0.07 121.2)
XYZxyz(7.8208, 9.7833, 4.1651)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D2F #3B2F5D
analogous
#5D522F #515D2F #3A5D2F
triadic
#515D2F #2F515D #5D2F51
tetradic
#515D2F #2F5D52 #3B2F5D #5D2F3A
square
#515D2F #2F5D52 #3B2F5D #5D2F3A
split-complementary
#515D2F #2F3A5D #522F5D
monochromatic
#12140A #2E341A #515D2F #748644 #97AC5B

Accessibility & contrast

On white

7.10
#515D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#515D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515D2F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D2F#FFFFFF#000000##FFFFFF
##515D2F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62582B
Deuteranopia (green-blind)
#605831
Tritanopia (blue-blind)
#555952
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515d2f;
/* rgb */ color: rgb(81, 93, 47);
/* oklch */ color: oklch(45.6% 0.070 121.2);
Tailwind
colors: {
  custom: {
    50: '#838a68',
    500: '#515d2f',
    950: '#000000',
  },
}
SCSS
$custom: #515d2f;
$custom-light: #838a68;
$custom-dark: #000000;
JSON
{
  "hex": "#515d2f",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 47
  },
  "hsl": {
    "h": 75.652,
    "s": 32.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.06962,
    "h": 121.2
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#515D2F
secondary
#67598F
accent
#5FC97B
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #515D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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