#50510C#50510C

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

Color values

HEX#50510C
RGBrgb(80, 81, 12)
HSLhsl(61, 74%, 18%)
HSVhsv(61, 85%, 32%)
CMYKcmyk(1.2%, 0%, 85.2%, 68.2%)
CIE-LABlab(33.17, -9.41, 36.99)
CIE-LCHlch(33.17, 38.17, 104.28°)
OKLaboklab(42.07% -0.03 0.0805)
OKLCHoklch(42.07% 0.086 110.5)
XYZxyz(6.3173, 7.6171, 1.4852)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50510C #0D0C51
analogous
#512F0C #50510C #2D510C
triadic
#50510C #0C5051 #510C50
tetradic
#50510C #0C512F #0D0C51 #510C2D
square
#50510C #0C512F #0D0C51 #510C2D
split-complementary
#50510C #0C2D51 #2F0C51
monochromatic
#1A1B04 #1B1C04 #50510C #858614 #B9BC1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50510C#FFFFFF#000000##FFFFFF
##50510C1.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)
#584D00
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#564B44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #50510c;
/* rgb */ color: rgb(80, 81, 12);
/* oklch */ color: oklch(42.1% 0.086 110.5);
Tailwind
colors: {
  custom: {
    50: '#848152',
    500: '#50510c',
    950: '#000000',
  },
}
SCSS
$custom: #50510c;
$custom-light: #848152;
$custom-dark: #000000;
JSON
{
  "hex": "#50510c",
  "rgb": {
    "r": 80,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 60.87,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.42067,
    "c": 0.08593,
    "h": 110.5
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#50510C
secondary
#2E2C8C
accent
#37F13A
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #50510C

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

Preview Lab → · Contrast checker → · Palette generator →

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