#505C22#505C22

#505C22 is a mid, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.1% C 0.083 H 119.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#505C22
RGBrgb(80, 92, 34)
HSLhsl(72, 46%, 25%)
HSVhsv(72, 63%, 36%)
CMYKcmyk(13%, 0%, 63%, 63.9%)
CIE-LABlab(36.88, -14.21, 31.10)
CIE-LCHlch(36.88, 34.20, 114.56°)
OKLaboklab(45.1% -0.041 0.072)
OKLCHoklch(45.1% 0.083 119.7)
XYZxyz(7.4242, 9.4753, 2.9509)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505C22 #2E225C
analogous
#5C4B22 #505C22 #335C22
triadic
#505C22 #22505C #5C2250
tetradic
#505C22 #225C4B #2E225C #5C2233
square
#505C22 #225C4B #2E225C #5C2233
split-complementary
#505C22 #22335C #4B225C
monochromatic
#131608 #292F11 #505C22 #778933 #9EB543

Accessibility & contrast

On white

7.25
#505C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #505C22
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505C22#FFFFFF#000000##FFFFFF
##505C221.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571C
Deuteranopia (green-blind)
#605726
Tritanopia (blue-blind)
#545750
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505c22;
/* rgb */ color: rgb(80, 92, 34);
/* oklch */ color: oklch(45.1% 0.083 119.7);
Tailwind
colors: {
  custom: {
    50: '#838a60',
    500: '#505c22',
    950: '#000000',
  },
}
SCSS
$custom: #505c22;
$custom-light: #838a60;
$custom-dark: #000000;
JSON
{
  "hex": "#505c22",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 72.414,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.08287,
    "h": 119.7
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#505C22
secondary
#584A90
accent
#52D66D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #505C22

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

Preview Lab → · Contrast checker → · Palette generator →

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