#515F2F#515F2F

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

Color values

HEX#515F2F
RGBrgb(81, 95, 47)
HSLhsl(78, 34%, 28%)
HSVhsv(78, 51%, 37%)
CMYKcmyk(14.7%, 0%, 50.5%, 62.7%)
CIE-LABlab(38.09, -14.04, 25.55)
CIE-LCHlch(38.09, 29.16, 118.78°)
OKLaboklab(46.14% -0.0392 0.0613)
OKLCHoklch(46.14% 0.073 122.6)
XYZxyz(7.9987, 10.1390, 4.2244)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F2F #3D2F5F
analogous
#5F552F #515F2F #395F2F
triadic
#515F2F #2F515F #5F2F51
tetradic
#515F2F #2F5F55 #3D2F5F #5F2F39
square
#515F2F #2F5F55 #3D2F5F #5F2F39
split-complementary
#515F2F #2F395F #552F5F
monochromatic
#11140A #2E361B #515F2F #748843 #95AE5B

Accessibility & contrast

On white

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

On black

3.03
#515F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##515F2F#FFFFFF#000000##FFFFFF
##515F2F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2B
Deuteranopia (green-blind)
#625A32
Tritanopia (blue-blind)
#545B54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #515f2f;
/* rgb */ color: rgb(81, 95, 47);
/* oklch */ color: oklch(46.1% 0.073 122.6);
Tailwind
colors: {
  custom: {
    50: '#838c69',
    500: '#515f2f',
    950: '#000000',
  },
}
SCSS
$custom: #515f2f;
$custom-light: #838c69;
$custom-dark: #000000;
JSON
{
  "hex": "#515f2f",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 77.5,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.07278,
    "h": 122.6
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#515F2F
secondary
#695991
accent
#5ECA7D
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #515F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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