#515F20#515F20

#515F20 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.9% C 0.089 H 120.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#515F20
RGBrgb(81, 95, 32)
HSLhsl(73, 50%, 25%)
HSVhsv(73, 66%, 37%)
CMYKcmyk(14.7%, 0%, 66.3%, 62.7%)
CIE-LABlab(37.91, -15.59, 33.25)
CIE-LCHlch(37.91, 36.72, 115.12°)
OKLaboklab(45.94% -0.0452 0.0763)
OKLCHoklch(45.94% 0.089 120.6)
XYZxyz(7.7464, 10.0380, 2.8957)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F20 #2E205F
analogous
#5F4D20 #515F20 #325F20
triadic
#515F20 #20515F #5F2051
tetradic
#515F20 #205F4D #2E205F #5F2032
square
#515F20 #205F4D #2E205F #5F2032
split-complementary
#515F20 #20325F #4D205F
monochromatic
#141708 #2A3111 #515F20 #788D2F #9FBB3F

Accessibility & contrast

On white

6.98
#515F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#515F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515F20
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F20#FFFFFF#000000##FFFFFF
##515F201.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655918
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#555A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f20;
/* rgb */ color: rgb(81, 95, 32);
/* oklch */ color: oklch(45.9% 0.089 120.6);
Tailwind
colors: {
  custom: {
    50: '#848c5f',
    500: '#515f20',
    950: '#000000',
  },
}
SCSS
$custom: #515f20;
$custom-light: #848c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#515f20",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 32
  },
  "hsl": {
    "h": 73.333,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.08863,
    "h": 120.6
  },
  "luminance": 0.10038
}

Semantic roles & 50–950 ramp

primary
#515F20
secondary
#584793
accent
#4FD96D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #515F20

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

Preview Lab → · Contrast checker → · Palette generator →

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