#50510F#50510F

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

Color values

HEX#50510F
RGBrgb(80, 81, 15)
HSLhsl(61, 69%, 19%)
HSVhsv(61, 81%, 32%)
CMYKcmyk(1.2%, 0%, 81.5%, 68.2%)
CIE-LABlab(33.19, -9.28, 35.93)
CIE-LCHlch(33.19, 37.10, 104.48°)
OKLaboklab(42.09% -0.0293 0.0789)
OKLCHoklch(42.09% 0.084 110.4)
XYZxyz(6.3371, 7.6250, 1.5898)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50510F #100F51
analogous
#51310F #50510F #2F510F
triadic
#50510F #0F5051 #510F50
tetradic
#50510F #0F5131 #100F51 #510F2F
square
#50510F #0F5131 #100F51 #510F2F
split-complementary
#50510F #0F2F51 #310F51
monochromatic
#1A1A05 #1D1D05 #50510F #838519 #B6B822

Accessibility & contrast

On white

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

On black

2.53
#50510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##50510F#FFFFFF#000000##FFFFFF
##50510F1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50510f;
/* rgb */ color: rgb(80, 81, 15);
/* oklch */ color: oklch(42.1% 0.084 110.4);
Tailwind
colors: {
  custom: {
    50: '#848153',
    500: '#50510f',
    950: '#000000',
  },
}
SCSS
$custom: #50510f;
$custom-light: #848153;
$custom-dark: #000000;
JSON
{
  "hex": "#50510f",
  "rgb": {
    "r": 80,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 60.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.42086,
    "c": 0.08415,
    "h": 110.4
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#50510F
secondary
#32318B
accent
#3CEC3F
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #50510F

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

Preview Lab → · Contrast checker → · Palette generator →

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