#503F0C#503F0C

#503F0C is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.6% C 0.070 H 89.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#503F0C
RGBrgb(80, 63, 12)
HSLhsl(45, 74%, 18%)
HSVhsv(45, 85%, 31%)
CMYKcmyk(0%, 21.2%, 85%, 68.6%)
CIE-LABlab(27.54, 1.57, 31.87)
CIE-LCHlch(27.54, 31.91, 87.19°)
OKLaboklab(37.59% 0.0009 0.0695)
OKLCHoklch(37.59% 0.07 89.2)
XYZxyz(5.1524, 5.2874, 1.0969)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503F0C #0C1D50
analogous
#501D0C #503F0C #3F500C
triadic
#503F0C #0C503F #3F0C50
tetradic
#503F0C #0C501D #0C1D50 #500C3F
square
#503F0C #0C501D #0C1D50 #500C3F
split-complementary
#503F0C #0C3F50 #1D0C50
monochromatic
#1B1504 #1B1504 #503F0C #856914 #BA931C

Accessibility & contrast

On white

10.21
#503F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#503F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503F0C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503F0C#FFFFFF#000000##FFFFFF
##503F0C1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E04
Deuteranopia (green-blind)
#4C430F
Tritanopia (blue-blind)
#573935
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #503f0c;
/* rgb */ color: rgb(80, 63, 12);
/* oklch */ color: oklch(37.6% 0.070 89.2);
Tailwind
colors: {
  custom: {
    50: '#84734f',
    500: '#503f0c',
    950: '#000000',
  },
}
SCSS
$custom: #503f0c;
$custom-light: #84734f;
$custom-dark: #000000;
JSON
{
  "hex": "#503f0c",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 45,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37593,
    "c": 0.06955,
    "h": 89.2
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#503F0C
secondary
#2C448B
accent
#66F137
background
#F8F6F4
surface
#EFECE7
border
#CAC7C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #503F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#503F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva