#505C15#505C15

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

Color values

HEX#505C15
RGBrgb(80, 92, 21)
HSLhsl(70, 63%, 22%)
HSVhsv(70, 77%, 36%)
CMYKcmyk(13%, 0%, 77.2%, 63.9%)
CIE-LABlab(36.77, -15.20, 36.98)
CIE-LCHlch(36.77, 39.98, 112.35°)
OKLaboklab(44.97% -0.0452 0.0823)
OKLCHoklch(44.97% 0.094 118.8)
XYZxyz(7.2709, 9.4140, 2.1434)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505C15 #21155C
analogous
#5C4515 #505C15 #2D5C15
triadic
#505C15 #15505C #5C1550
tetradic
#505C15 #155C45 #21155C #5C152D
square
#505C15 #155C45 #21155C #5C152D
split-complementary
#505C15 #152D5C #45155C
monochromatic
#161906 #252A0A #505C15 #7B8E20 #A7C02C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505C15#FFFFFF#000000##FFFFFF
##505C151.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)
#625608
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#55574E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #505c15;
/* rgb */ color: rgb(80, 92, 21);
/* oklch */ color: oklch(45.0% 0.094 118.8);
Tailwind
colors: {
  custom: {
    50: '#838a58',
    500: '#505c15',
    950: '#000000',
  },
}
SCSS
$custom: #505c15;
$custom-light: #838a58;
$custom-dark: #000000;
JSON
{
  "hex": "#505c15",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 21
  },
  "hsl": {
    "h": 70.141,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44971,
    "c": 0.09387,
    "h": 118.8
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

primary
#505C15
secondary
#493993
accent
#42E65E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505C15

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

Preview Lab → · Contrast checker → · Palette generator →

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