#505F13#505F13

#505F13 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.099 H 120.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#505F13
RGBrgb(80, 95, 19)
HSLhsl(72, 67%, 22%)
HSVhsv(72, 80%, 37%)
CMYKcmyk(15.8%, 0%, 80%, 62.7%)
CIE-LABlab(37.73, -16.96, 38.68)
CIE-LCHlch(37.73, 42.23, 113.67°)
OKLaboklab(45.74% -0.0502 0.0855)
OKLCHoklch(45.74% 0.099 120.4)
XYZxyz(7.5182, 9.9369, 2.1379)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F13 #22135F
analogous
#5F4813 #505F13 #2A5F13
triadic
#505F13 #13505F #5F1350
tetradic
#505F13 #135F48 #22135F #5F132A
square
#505F13 #135F48 #22135F #5F132A
split-complementary
#505F13 #132A5F #48135F
monochromatic
#151A05 #252C09 #505F13 #7B921D #A6C527

Accessibility & contrast

On white

7.03
#505F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #505F13
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505F13#FFFFFF#000000##FFFFFF
##505F131.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #505f13;
/* rgb */ color: rgb(80, 95, 19);
/* oklch */ color: oklch(45.7% 0.099 120.4);
Tailwind
colors: {
  custom: {
    50: '#848c57',
    500: '#505f13',
    950: '#000000',
  },
}
SCSS
$custom: #505f13;
$custom-light: #848c57;
$custom-dark: #000000;
JSON
{
  "hex": "#505f13",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 71.842,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4574,
    "c": 0.09915,
    "h": 120.4
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#505F13
secondary
#4A3797
accent
#3EEA60
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505F13

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

Preview Lab → · Contrast checker → · Palette generator →

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