#505E13#505E13

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

Color values

HEX#505E13
RGBrgb(80, 94, 19)
HSLhsl(71, 66%, 22%)
HSVhsv(71, 80%, 37%)
CMYKcmyk(14.9%, 0%, 79.8%, 63.1%)
CIE-LABlab(37.40, -16.41, 38.37)
CIE-LCHlch(37.40, 41.74, 113.16°)
OKLaboklab(45.48% -0.0487 0.0848)
OKLCHoklch(45.48% 0.098 119.9)
XYZxyz(7.4287, 9.7579, 2.1081)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E13 #21135E
analogous
#5E4713 #505E13 #2B5E13
triadic
#505E13 #13505E #5E1350
tetradic
#505E13 #135E47 #21135E #5E132B
square
#505E13 #135E47 #21135E #5E132B
split-complementary
#505E13 #132B5E #47135E
monochromatic
#161905 #252B09 #505E13 #7B911D #A7C428

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #505e13;
/* rgb */ color: rgb(80, 94, 19);
/* oklch */ color: oklch(45.5% 0.098 119.9);
Tailwind
colors: {
  custom: {
    50: '#848b57',
    500: '#505e13',
    950: '#000000',
  },
}
SCSS
$custom: #505e13;
$custom-light: #848b57;
$custom-dark: #000000;
JSON
{
  "hex": "#505e13",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 71.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.09784,
    "h": 119.9
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#505E13
secondary
#493796
accent
#3FE95E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505E13

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

Preview Lab → · Contrast checker → · Palette generator →

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