#505E15#505E15

#505E15 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.5% C 0.097 H 120.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#505E15
RGBrgb(80, 94, 21)
HSLhsl(72, 63%, 23%)
HSVhsv(72, 78%, 37%)
CMYKcmyk(14.9%, 0%, 77.7%, 63.1%)
CIE-LABlab(37.42, -16.30, 37.61)
CIE-LCHlch(37.42, 40.99, 113.43°)
OKLaboklab(45.49% -0.0482 0.0836)
OKLCHoklch(45.49% 0.097 120)
XYZxyz(7.4465, 9.7651, 2.2019)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E15 #23155E
analogous
#5E4815 #505E15 #2B5E15
triadic
#505E15 #15505E #5E1550
tetradic
#505E15 #155E48 #23155E #5E152B
square
#505E15 #155E48 #23155E #5E152B
split-complementary
#505E15 #152B5E #48155E
monochromatic
#151906 #252C0A #505E15 #7B9020 #A5C22B

Accessibility & contrast

On white

7.11
#505E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#505E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505E15
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505E15#FFFFFF#000000##FFFFFF
##505E151.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645807
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#555950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505e15;
/* rgb */ color: rgb(80, 94, 21);
/* oklch */ color: oklch(45.5% 0.097 120.0);
Tailwind
colors: {
  custom: {
    50: '#848b58',
    500: '#505e15',
    950: '#000000',
  },
}
SCSS
$custom: #505e15;
$custom-light: #848b58;
$custom-dark: #000000;
JSON
{
  "hex": "#505e15",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 71.507,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.09652,
    "h": 120
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#505E15
secondary
#4B3995
accent
#41E761
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #505E15

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

Preview Lab → · Contrast checker → · Palette generator →

#505E15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva