#505D10#505D10

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

Color values

HEX#505D10
RGBrgb(80, 93, 16)
HSLhsl(70, 71%, 21%)
HSVhsv(70, 83%, 36%)
CMYKcmyk(14%, 0%, 82.8%, 63.5%)
CIE-LABlab(37.06, -16.02, 39.14)
CIE-LCHlch(37.06, 42.29, 112.26°)
OKLaboklab(45.2% -0.0479 0.0859)
OKLCHoklch(45.2% 0.098 119.2)
XYZxyz(7.3163, 9.5716, 1.9522)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505D10 #1D105D
analogous
#5D4410 #505D10 #2A5D10
triadic
#505D10 #10505D #5D1050
tetradic
#505D10 #105D44 #1D105D #5D102A
square
#505D10 #105D44 #1D105D #5D102A
split-complementary
#505D10 #102A5D #44105D
monochromatic
#161A04 #232907 #505D10 #7D9119 #AAC522

Accessibility & contrast

On white

7.21
#505D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#505D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505D10
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505D10#FFFFFF#000000##FFFFFF
##505D101.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#625717
Tritanopia (blue-blind)
#55574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505d10;
/* rgb */ color: rgb(80, 93, 16);
/* oklch */ color: oklch(45.2% 0.098 119.2);
Tailwind
colors: {
  custom: {
    50: '#848a56',
    500: '#505d10',
    950: '#000000',
  },
}
SCSS
$custom: #505d10;
$custom-light: #848a56;
$custom-dark: #000000;
JSON
{
  "hex": "#505d10",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 70.13,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45197,
    "c": 0.09835,
    "h": 119.2
  },
  "luminance": 0.09572
}

Semantic roles & 50–950 ramp

primary
#505D10
secondary
#443396
accent
#3AED59
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505D10

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

Preview Lab → · Contrast checker → · Palette generator →

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