#515F2D#515F2D

#515F2D is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 46.1% C 0.075 H 122.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#515F2D
RGBrgb(81, 95, 45)
HSLhsl(77, 36%, 27%)
HSVhsv(77, 53%, 37%)
CMYKcmyk(14.7%, 0%, 52.6%, 62.7%)
CIE-LABlab(38.06, -14.28, 26.63)
CIE-LCHlch(38.06, 30.22, 118.20°)
OKLaboklab(46.11% -0.0401 0.0635)
OKLCHoklch(46.11% 0.075 122.3)
XYZxyz(7.9592, 10.1232, 4.0168)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F2D #3B2D5F
analogous
#5F542D #515F2D #385F2D
triadic
#515F2D #2D515F #5F2D51
tetradic
#515F2D #2D5F54 #3B2D5F #5F2D38
square
#515F2D #2D5F54 #3B2D5F #5F2D38
split-complementary
#515F2D #2D385F #542D5F
monochromatic
#12150A #2E3519 #515F2D #748941 #97AF57

Accessibility & contrast

On white

6.94
#515F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#515F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515F2D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F2D#FFFFFF#000000##FFFFFF
##515F2D1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A29
Deuteranopia (green-blind)
#625A30
Tritanopia (blue-blind)
#555B53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #515f2d;
/* rgb */ color: rgb(81, 95, 45);
/* oklch */ color: oklch(46.1% 0.075 122.3);
Tailwind
colors: {
  custom: {
    50: '#838c67',
    500: '#515f2d',
    950: '#000000',
  },
}
SCSS
$custom: #515f2d;
$custom-light: #838c67;
$custom-dark: #000000;
JSON
{
  "hex": "#515f2d",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 76.8,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4611,
    "c": 0.07512,
    "h": 122.3
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#515F2D
secondary
#675791
accent
#5CCC7B
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #515F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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