#50460F#50460F

#50460F is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.3% C 0.073 H 98.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#50460F
RGBrgb(80, 70, 15)
HSLhsl(51, 68%, 19%)
HSVhsv(51, 81%, 31%)
CMYKcmyk(0%, 12.5%, 81.3%, 68.6%)
CIE-LABlab(29.71, -2.66, 32.65)
CIE-LCHlch(29.71, 32.76, 94.66°)
OKLaboklab(39.32% -0.0108 0.0719)
OKLCHoklch(39.32% 0.073 98.5)
XYZxyz(5.5849, 6.1206, 1.3391)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50460F #0F1950
analogous
#50250F #50460F #39500F
triadic
#50460F #0F5046 #460F50
tetradic
#50460F #0F5025 #0F1950 #500F39
square
#50460F #0F5025 #0F1950 #500F39
split-complementary
#50460F #0F3950 #250F50
monochromatic
#1A1705 #1C1905 #50460F #847319 #B7A022

Accessibility & contrast

On white

9.44
#50460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#50460F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50460F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50460F#FFFFFF#000000##FFFFFF
##50460F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4406
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#57403B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #50460f;
/* rgb */ color: rgb(80, 70, 15);
/* oklch */ color: oklch(39.3% 0.073 98.5);
Tailwind
colors: {
  custom: {
    50: '#847952',
    500: '#50460f',
    950: '#000000',
  },
}
SCSS
$custom: #50460f;
$custom-light: #847952;
$custom-dark: #000000;
JSON
{
  "hex": "#50460f",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 50.769,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3932,
    "c": 0.07272,
    "h": 98.5
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#50460F
secondary
#313E8A
accent
#57EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #50460F

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

Preview Lab → · Contrast checker → · Palette generator →

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