#505C19#505C19

#505C19 is a mid, moderate yellow-green. Relative luminance 0.094; OKLCH L 45.0% C 0.091 H 119.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#505C19
RGBrgb(80, 92, 25)
HSLhsl(71, 57%, 23%)
HSVhsv(71, 73%, 36%)
CMYKcmyk(13%, 0%, 72.8%, 63.9%)
CIE-LABlab(36.80, -14.94, 35.31)
CIE-LCHlch(36.80, 38.34, 112.93°)
OKLaboklab(45% -0.044 0.0795)
OKLCHoklch(45% 0.091 119)
XYZxyz(7.3110, 9.4300, 2.3545)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505C19 #25195C
analogous
#5C4619 #505C19 #2E5C19
triadic
#505C19 #19505C #5C1950
tetradic
#505C19 #195C46 #25195C #5C192E
square
#505C19 #195C46 #25195C #5C192E
split-complementary
#505C19 #192E5C #46195C
monochromatic
#151807 #262C0C #505C19 #7A8C26 #A4BC33

Accessibility & contrast

On white

7.28
#505C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#505C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505C19
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505C19#FFFFFF#000000##FFFFFF
##505C191.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62570F
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#55574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505c19;
/* rgb */ color: rgb(80, 92, 25);
/* oklch */ color: oklch(45.0% 0.091 119.0);
Tailwind
colors: {
  custom: {
    50: '#838a5a',
    500: '#505c19',
    950: '#000000',
  },
}
SCSS
$custom: #505c19;
$custom-light: #838a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#505c19",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 25
  },
  "hsl": {
    "h": 70.746,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45004,
    "c": 0.09089,
    "h": 119
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#505C19
secondary
#4E3F92
accent
#47E163
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #505C19

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

Preview Lab → · Contrast checker → · Palette generator →

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