#FFB504#FFB504

#FFB504 is a very light, vivid orange. Relative luminance 0.543; OKLCH L 82.2% C 0.170 H 78.9°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#FFB504
RGBrgb(255, 181, 4)
HSLhsl(42, 100%, 51%)
HSVhsv(42, 98%, 100%)
CMYKcmyk(0%, 29%, 98.4%, 0%)
CIE-LABlab(78.65, 15.62, 81.00)
CIE-LCHlch(78.65, 82.49, 79.09°)
OKLaboklab(82.17% 0.0328 0.167)
OKLCHoklch(82.17% 0.17 78.9)
XYZxyz(57.7903, 54.3216, 7.5564)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB504 #044EFF
analogous
#FF3704 #FFB504 #CBFF04
triadic
#FFB504 #04FFB5 #B504FF
tetradic
#FFB504 #04FF37 #044EFF #FF04CB
square
#FFB504 #04FF37 #044EFF #FF04CB
split-complementary
#FFB504 #04CBFF #3704FF
monochromatic
#896000 #C68B00 #FFB504 #FFC741 #FFD97E

Accessibility & contrast

On white

1.77
#FFB504 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#FFB504 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB504
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB504#FFFFFF#000000##000000
##FFB5041.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#E3CA18
Tritanopia (blue-blind)
#FFA09A
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ffb504;
/* rgb */ color: rgb(255, 181, 4);
/* oklch */ color: oklch(82.2% 0.170 78.9);
Tailwind
colors: {
  custom: {
    50: '#ffca67',
    500: '#ffb504',
    950: '#000000',
  },
}
SCSS
$custom: #ffb504;
$custom-light: #ffca67;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb504",
  "rgb": {
    "r": 255,
    "g": 181,
    "b": 4
  },
  "hsl": {
    "h": 42.311,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.82165,
    "c": 0.17023,
    "h": 78.9
  },
  "luminance": 0.54317
}

Semantic roles & 50–950 ramp

primary
#FFB504
secondary
#193C8E
accent
#68FF29
background
#FFFDFB
surface
#FFF9F0
border
#D7D2CB
text
#1A1307
muted
#87827C

Preview Lab

Preview with #FFB504

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

Preview Lab → · Contrast checker → · Palette generator →

#FFB504 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva