#505D15#505D15

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

Color values

HEX#505D15
RGBrgb(80, 93, 21)
HSLhsl(71, 63%, 22%)
HSVhsv(71, 77%, 36%)
CMYKcmyk(14%, 0%, 77.4%, 63.5%)
CIE-LABlab(37.09, -15.75, 37.30)
CIE-LCHlch(37.09, 40.49, 112.90°)
OKLaboklab(45.23% -0.0467 0.0829)
OKLCHoklch(45.23% 0.095 119.4)
XYZxyz(7.3581, 9.5884, 2.1724)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505D15 #22155D
analogous
#5D4615 #505D15 #2C5D15
triadic
#505D15 #15505D #5D1550
tetradic
#505D15 #155D46 #22155D #5D152C
square
#505D15 #155D46 #22155D #5D152C
split-complementary
#505D15 #152C5D #46155D
monochromatic
#151906 #252B0A #505D15 #7B8F20 #A6C12C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505D15#FFFFFF#000000##FFFFFF
##505D151.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)
#635708
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#55584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505d15;
/* rgb */ color: rgb(80, 93, 21);
/* oklch */ color: oklch(45.2% 0.095 119.4);
Tailwind
colors: {
  custom: {
    50: '#848a58',
    500: '#505d15',
    950: '#000000',
  },
}
SCSS
$custom: #505d15;
$custom-light: #848a58;
$custom-dark: #000000;
JSON
{
  "hex": "#505d15",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 70.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.09519,
    "h": 119.4
  },
  "luminance": 0.09588
}

Semantic roles & 50–950 ramp

primary
#505D15
secondary
#4A3994
accent
#42E65F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #505D15

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

Preview Lab → · Contrast checker → · Palette generator →

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