#505E14#505E14

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

Color values

HEX#505E14
RGBrgb(80, 94, 20)
HSLhsl(71, 65%, 22%)
HSVhsv(71, 79%, 37%)
CMYKcmyk(14.9%, 0%, 78.7%, 63.1%)
CIE-LABlab(37.41, -16.36, 38.00)
CIE-LCHlch(37.41, 41.37, 113.29°)
OKLaboklab(45.49% -0.0485 0.0842)
OKLCHoklch(45.49% 0.097 119.9)
XYZxyz(7.4374, 9.7614, 2.1540)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E14 #22145E
analogous
#5E4714 #505E14 #2B5E14
triadic
#505E14 #14505E #5E1450
tetradic
#505E14 #145E47 #22145E #5E142B
square
#505E14 #145E47 #22145E #5E142B
split-complementary
#505E14 #142B5E #47145E
monochromatic
#151905 #252C09 #505E14 #7B901F #A6C329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505E14#FFFFFF#000000##FFFFFF
##505E141.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)
#645805
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#555950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505e14;
/* rgb */ color: rgb(80, 94, 20);
/* oklch */ color: oklch(45.5% 0.097 119.9);
Tailwind
colors: {
  custom: {
    50: '#848b58',
    500: '#505e14',
    950: '#000000',
  },
}
SCSS
$custom: #505e14;
$custom-light: #848b58;
$custom-dark: #000000;
JSON
{
  "hex": "#505e14",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 71.351,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.09719,
    "h": 119.9
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#505E14
secondary
#4A3896
accent
#40E860
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505E14

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

Preview Lab → · Contrast checker → · Palette generator →

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