#505114#505114

#505114 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.1% C 0.081 H 110.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#505114
RGBrgb(80, 81, 20)
HSLhsl(61, 60%, 20%)
HSVhsv(61, 75%, 32%)
CMYKcmyk(1.2%, 0%, 75.3%, 68.2%)
CIE-LABlab(33.22, -9.00, 33.91)
CIE-LCHlch(33.22, 35.09, 104.86°)
OKLaboklab(42.13% -0.028 0.0756)
OKLCHoklch(42.13% 0.081 110.3)
XYZxyz(6.3772, 7.6410, 1.8006)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505114 #151451
analogous
#513414 #505114 #315114
triadic
#505114 #145051 #511450
tetradic
#505114 #145134 #151451 #511431
square
#505114 #145134 #151451 #511431
split-complementary
#505114 #143151 #341451
monochromatic
#181906 #202008 #505114 #808220 #B1B32C

Accessibility & contrast

On white

8.31
#505114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#505114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505114
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505114#FFFFFF#000000##FFFFFF
##5051141.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0A
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#564C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #505114;
/* rgb */ color: rgb(80, 81, 20);
/* oklch */ color: oklch(42.1% 0.081 110.3);
Tailwind
colors: {
  custom: {
    50: '#838156',
    500: '#505114',
    950: '#000000',
  },
}
SCSS
$custom: #505114;
$custom-light: #838156;
$custom-dark: #000000;
JSON
{
  "hex": "#505114",
  "rgb": {
    "r": 80,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 60.984,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42125,
    "c": 0.08066,
    "h": 110.3
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#505114
secondary
#393889
accent
#44E447
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #505114

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

Preview Lab → · Contrast checker → · Palette generator →

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