#505015#505015

#505015 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.079 H 109.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#505015
RGBrgb(80, 80, 21)
HSLhsl(60, 58%, 20%)
HSVhsv(60, 74%, 31%)
CMYKcmyk(0%, 0%, 73.7%, 68.6%)
CIE-LABlab(32.91, -8.35, 33.16)
CIE-LCHlch(32.91, 34.19, 104.13°)
OKLaboklab(41.88% -0.0261 0.0742)
OKLCHoklch(41.88% 0.079 109.4)
XYZxyz(6.3125, 7.4971, 1.8239)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505015 #151550
analogous
#503315 #505015 #335015
triadic
#505015 #155050 #501550
tetradic
#505015 #155033 #151550 #501533
square
#505015 #155033 #151550 #501533
split-complementary
#505015 #153350 #331550
monochromatic
#181806 #202008 #505015 #808022 #B1B12E

Accessibility & contrast

On white

8.40
#505015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#505015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505015
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505015#FFFFFF#000000##FFFFFF
##5050151.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0C
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#564B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #505015;
/* rgb */ color: rgb(80, 80, 21);
/* oklch */ color: oklch(41.9% 0.079 109.4);
Tailwind
colors: {
  custom: {
    50: '#838056',
    500: '#505015',
    950: '#000000',
  },
}
SCSS
$custom: #505015;
$custom-light: #838056;
$custom-dark: #000000;
JSON
{
  "hex": "#505015",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41879,
    "c": 0.07869,
    "h": 109.4
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#505015
secondary
#393988
accent
#46E246
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #505015

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

Preview Lab → · Contrast checker → · Palette generator →

#505015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva