#505D16#505D16

#505D16 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.2% C 0.094 H 119.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#505D16
RGBrgb(80, 93, 22)
HSLhsl(71, 62%, 23%)
HSVhsv(71, 76%, 36%)
CMYKcmyk(14%, 0%, 76.3%, 63.5%)
CIE-LABlab(37.10, -15.69, 36.90)
CIE-LCHlch(37.10, 40.09, 113.04°)
OKLaboklab(45.24% -0.0464 0.0823)
OKLCHoklch(45.24% 0.094 119.4)
XYZxyz(7.3676, 9.5921, 2.2222)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505D16 #23165D
analogous
#5D4716 #505D16 #2C5D16
triadic
#505D16 #16505D #5D1650
tetradic
#505D16 #165D47 #23165D #5D162C
square
#505D16 #165D47 #23165D #5D162C
split-complementary
#505D16 #162C5D #47165D
monochromatic
#151906 #252C0A #505D16 #7B8E22 #A5C02D

Accessibility & contrast

On white

7.20
#505D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#505D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505D16
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505D16#FFFFFF#000000##FFFFFF
##505D161.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635709
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#55584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505d16;
/* rgb */ color: rgb(80, 93, 22);
/* oklch */ color: oklch(45.2% 0.094 119.4);
Tailwind
colors: {
  custom: {
    50: '#838a59',
    500: '#505d16',
    950: '#000000',
  },
}
SCSS
$custom: #505d16;
$custom-light: #838a59;
$custom-dark: #000000;
JSON
{
  "hex": "#505d16",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 70.986,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45239,
    "c": 0.09449,
    "h": 119.4
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#505D16
secondary
#4B3B94
accent
#43E561
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #505D16

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

Preview Lab → · Contrast checker → · Palette generator →

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