#505F19#505F19

#505F19 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.8% C 0.095 H 120.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#505F19
RGBrgb(80, 95, 25)
HSLhsl(73, 58%, 24%)
HSVhsv(73, 74%, 37%)
CMYKcmyk(15.8%, 0%, 73.7%, 62.7%)
CIE-LABlab(37.77, -16.59, 36.30)
CIE-LCHlch(37.77, 39.91, 114.56°)
OKLaboklab(45.79% -0.0486 0.0816)
OKLCHoklch(45.79% 0.095 120.8)
XYZxyz(7.5761, 9.9601, 2.4429)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F19 #28195F
analogous
#5F4B19 #505F19 #2D5F19
triadic
#505F19 #19505F #5F1950
tetradic
#505F19 #195F4B #28195F #5F192D
square
#505F19 #195F4B #28195F #5F192D
split-complementary
#505F19 #192D5F #4B195F
monochromatic
#141806 #272F0C #505F19 #798F26 #A2C032

Accessibility & contrast

On white

7.02
#505F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #505F19
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505F19#FFFFFF#000000##FFFFFF
##505F191.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590E
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#555A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #505f19;
/* rgb */ color: rgb(80, 95, 25);
/* oklch */ color: oklch(45.8% 0.095 120.8);
Tailwind
colors: {
  custom: {
    50: '#838c5b',
    500: '#505f19',
    950: '#000000',
  },
}
SCSS
$custom: #505f19;
$custom-light: #838c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#505f19",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 72.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.09497,
    "h": 120.8
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#505F19
secondary
#513F95
accent
#46E268
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #505F19

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

Preview Lab → · Contrast checker → · Palette generator →

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