#50510E#50510E

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

Color values

HEX#50510E
RGBrgb(80, 81, 14)
HSLhsl(61, 71%, 19%)
HSVhsv(61, 83%, 32%)
CMYKcmyk(1.2%, 0%, 82.7%, 68.2%)
CIE-LABlab(33.18, -9.32, 36.29)
CIE-LCHlch(33.18, 37.47, 104.41°)
OKLaboklab(42.08% -0.0296 0.0794)
OKLCHoklch(42.08% 0.085 110.4)
XYZxyz(6.3302, 7.6222, 1.5532)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50510E #0F0E51
analogous
#51300E #50510E #2E510E
triadic
#50510E #0E5051 #510E50
tetradic
#50510E #0E5130 #0F0E51 #510E2E
square
#50510E #0E5130 #0F0E51 #510E2E
split-complementary
#50510E #0E2E51 #300E51
monochromatic
#1A1A05 #1C1D05 #50510E #848517 #B7B920

Accessibility & contrast

On white

8.32
#50510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#50510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50510E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50510E#FFFFFF#000000##FFFFFF
##50510E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D01
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#564B44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #50510e;
/* rgb */ color: rgb(80, 81, 14);
/* oklch */ color: oklch(42.1% 0.085 110.4);
Tailwind
colors: {
  custom: {
    50: '#848153',
    500: '#50510e',
    950: '#000000',
  },
}
SCSS
$custom: #50510e;
$custom-light: #848153;
$custom-dark: #000000;
JSON
{
  "hex": "#50510e",
  "rgb": {
    "r": 80,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 60.896,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.4208,
    "c": 0.08477,
    "h": 110.4
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#50510E
secondary
#312F8C
accent
#3AED3D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #50510E

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

Preview Lab → · Contrast checker → · Palette generator →

#50510E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva