#504F10#504F10

#504F10 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.6% C 0.081 H 108.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#504F10
RGBrgb(80, 79, 16)
HSLhsl(59, 67%, 19%)
HSVhsv(59, 80%, 31%)
CMYKcmyk(0%, 1.2%, 80%, 68.6%)
CIE-LABlab(32.56, -8.05, 34.94)
CIE-LCHlch(32.56, 35.86, 102.97°)
OKLaboklab(41.58% -0.0258 0.077)
OKLCHoklch(41.58% 0.081 108.5)
XYZxyz(6.1980, 7.3350, 1.5794)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504F10 #101150
analogous
#502F10 #504F10 #315010
triadic
#504F10 #10504F #4F1050
tetradic
#504F10 #10502F #101150 #501031
square
#504F10 #10502F #101150 #501031
split-complementary
#504F10 #103150 #2F1050
monochromatic
#1A1905 #1D1D06 #504F10 #83811A #B6B424

Accessibility & contrast

On white

8.51
#504F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#504F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504F10
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504F10#FFFFFF#000000##FFFFFF
##504F101.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B05
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#564943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504f10;
/* rgb */ color: rgb(80, 79, 16);
/* oklch */ color: oklch(41.6% 0.081 108.5);
Tailwind
colors: {
  custom: {
    50: '#848054',
    500: '#504f10',
    950: '#000000',
  },
}
SCSS
$custom: #504f10;
$custom-light: #848054;
$custom-dark: #000000;
JSON
{
  "hex": "#504f10",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 59.063,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.0812,
    "h": 108.5
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#504F10
secondary
#32338A
accent
#41EA3E
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #504F10

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

Preview Lab → · Contrast checker → · Palette generator →

#504F10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva