#505E16#505E16

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

Color values

HEX#505E16
RGBrgb(80, 94, 22)
HSLhsl(72, 62%, 23%)
HSVhsv(72, 77%, 37%)
CMYKcmyk(14.9%, 0%, 76.6%, 63.1%)
CIE-LABlab(37.42, -16.24, 37.21)
CIE-LCHlch(37.42, 40.60, 113.58°)
OKLaboklab(45.5% -0.048 0.083)
OKLCHoklch(45.5% 0.096 120)
XYZxyz(7.4559, 9.7688, 2.2517)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E16 #24165E
analogous
#5E4816 #505E16 #2C5E16
triadic
#505E16 #16505E #5E1650
tetradic
#505E16 #165E48 #24165E #5E162C
square
#505E16 #165E48 #24165E #5E162C
split-complementary
#505E16 #162C5E #48165E
monochromatic
#151906 #262C0A #505E16 #7A9022 #A4C12D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505E16#FFFFFF#000000##FFFFFF
##505E161.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)
#645809
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#555950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505e16;
/* rgb */ color: rgb(80, 94, 22);
/* oklch */ color: oklch(45.5% 0.096 120.0);
Tailwind
colors: {
  custom: {
    50: '#838b59',
    500: '#505e16',
    950: '#000000',
  },
}
SCSS
$custom: #505e16;
$custom-light: #838b59;
$custom-dark: #000000;
JSON
{
  "hex": "#505e16",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 71.667,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.455,
    "c": 0.09583,
    "h": 120
  },
  "luminance": 0.09769
}

Semantic roles & 50–950 ramp

primary
#505E16
secondary
#4C3B95
accent
#43E562
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #505E16

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

Preview Lab → · Contrast checker → · Palette generator →

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