#505F16#505F16

#505F16 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.8% C 0.097 H 120.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#505F16
RGBrgb(80, 95, 22)
HSLhsl(72, 62%, 23%)
HSVhsv(72, 77%, 37%)
CMYKcmyk(15.8%, 0%, 76.8%, 62.7%)
CIE-LABlab(37.75, -16.78, 37.53)
CIE-LCHlch(37.75, 41.11, 114.09°)
OKLaboklab(45.76% -0.0495 0.0836)
OKLCHoklch(45.76% 0.097 120.6)
XYZxyz(7.5454, 9.9478, 2.2815)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F16 #25165F
analogous
#5F4916 #505F16 #2B5F16
triadic
#505F16 #16505F #5F1650
tetradic
#505F16 #165F49 #25165F #5F162B
square
#505F16 #165F49 #25165F #5F162B
split-complementary
#505F16 #162B5F #49165F
monochromatic
#151906 #262D0A #505F16 #7A9122 #A4C22D

Accessibility & contrast

On white

7.02
#505F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#505F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505F16
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505F16#FFFFFF#000000##FFFFFF
##505F161.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655909
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#555A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #505f16;
/* rgb */ color: rgb(80, 95, 22);
/* oklch */ color: oklch(45.8% 0.097 120.6);
Tailwind
colors: {
  custom: {
    50: '#848c59',
    500: '#505f16',
    950: '#000000',
  },
}
SCSS
$custom: #505f16;
$custom-light: #848c59;
$custom-dark: #000000;
JSON
{
  "hex": "#505f16",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 72.329,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.09716,
    "h": 120.6
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#505F16
secondary
#4E3B96
accent
#42E564
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #505F16

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

Preview Lab → · Contrast checker → · Palette generator →

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