#505F14#505F14

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

Color values

HEX#505F14
RGBrgb(80, 95, 20)
HSLhsl(72, 65%, 23%)
HSVhsv(72, 79%, 37%)
CMYKcmyk(15.8%, 0%, 78.9%, 62.7%)
CIE-LABlab(37.74, -16.90, 38.31)
CIE-LCHlch(37.74, 41.87, 113.81°)
OKLaboklab(45.75% -0.05 0.0849)
OKLCHoklch(45.75% 0.099 120.5)
XYZxyz(7.5269, 9.9404, 2.1839)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F14 #23145F
analogous
#5F4814 #505F14 #2B5F14
triadic
#505F14 #14505F #5F1450
tetradic
#505F14 #145F48 #23145F #5F142B
square
#505F14 #145F48 #23145F #5F142B
split-complementary
#505F14 #142B5F #48145F
monochromatic
#151905 #252C09 #505F14 #7B921F #A5C429

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505F14#FFFFFF#000000##FFFFFF
##505F141.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)
#655905
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#555A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #505f14;
/* rgb */ color: rgb(80, 95, 20);
/* oklch */ color: oklch(45.7% 0.099 120.5);
Tailwind
colors: {
  custom: {
    50: '#848c58',
    500: '#505f14',
    950: '#000000',
  },
}
SCSS
$custom: #505f14;
$custom-light: #848c58;
$custom-dark: #000000;
JSON
{
  "hex": "#505f14",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 72,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.09851,
    "h": 120.5
  },
  "luminance": 0.0994
}

Semantic roles & 50–950 ramp

primary
#505F14
secondary
#4B3897
accent
#40E861
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505F14

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

Preview Lab → · Contrast checker → · Palette generator →

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