#505C16#505C16

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

Color values

HEX#505C16
RGBrgb(80, 92, 22)
HSLhsl(70, 61%, 22%)
HSVhsv(70, 76%, 36%)
CMYKcmyk(13%, 0%, 76.1%, 63.9%)
CIE-LABlab(36.78, -15.14, 36.58)
CIE-LCHlch(36.78, 39.59, 112.48°)
OKLaboklab(44.98% -0.0449 0.0816)
OKLCHoklch(44.98% 0.093 118.8)
XYZxyz(7.2804, 9.4177, 2.1932)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505C16 #22165C
analogous
#5C4516 #505C16 #2D5C16
triadic
#505C16 #16505C #5C1650
tetradic
#505C16 #165C45 #22165C #5C162D
square
#505C16 #165C45 #22165C #5C162D
split-complementary
#505C16 #162D5C #45165C
monochromatic
#151906 #252B0A #505C16 #7B8D22 #A6BF2E

Accessibility & contrast

On white

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

On black

2.88
#505C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##505C16#FFFFFF#000000##FFFFFF
##505C161.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560A
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#55574E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #505c16;
/* rgb */ color: rgb(80, 92, 22);
/* oklch */ color: oklch(45.0% 0.093 118.8);
Tailwind
colors: {
  custom: {
    50: '#838a59',
    500: '#505c16',
    950: '#000000',
  },
}
SCSS
$custom: #505c16;
$custom-light: #838a59;
$custom-dark: #000000;
JSON
{
  "hex": "#505c16",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 70.286,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.09316,
    "h": 118.8
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#505C16
secondary
#4A3B93
accent
#43E55F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #505C16

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

Preview Lab → · Contrast checker → · Palette generator →

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