#505113#505113

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

Color values

HEX#505113
RGBrgb(80, 81, 19)
HSLhsl(61, 62%, 20%)
HSVhsv(61, 77%, 32%)
CMYKcmyk(1.2%, 0%, 76.5%, 68.2%)
CIE-LABlab(33.22, -9.06, 34.34)
CIE-LCHlch(33.22, 35.51, 104.78°)
OKLaboklab(42.12% -0.0283 0.0763)
OKLCHoklch(42.12% 0.081 110.4)
XYZxyz(6.3685, 7.6375, 1.7547)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505113 #141351
analogous
#513313 #505113 #315113
triadic
#505113 #135051 #511350
tetradic
#505113 #135133 #141351 #511331
square
#505113 #135133 #141351 #511331
split-complementary
#505113 #133151 #331351
monochromatic
#181906 #1F1F07 #505113 #81831F #B2B42A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505113#FFFFFF#000000##FFFFFF
##5051131.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)
#584D09
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#564B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #505113;
/* rgb */ color: rgb(80, 81, 19);
/* oklch */ color: oklch(42.1% 0.081 110.4);
Tailwind
colors: {
  custom: {
    50: '#838155',
    500: '#505113',
    950: '#000000',
  },
}
SCSS
$custom: #505113;
$custom-light: #838155;
$custom-dark: #000000;
JSON
{
  "hex": "#505113",
  "rgb": {
    "r": 80,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 60.968,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.08141,
    "h": 110.4
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#505113
secondary
#38368A
accent
#43E545
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #505113

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

Preview Lab → · Contrast checker → · Palette generator →

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