#FFB404#FFB404

#FFB404 is a light, vivid orange. Relative luminance 0.539; OKLCH L 82.0% C 0.170 H 78.4°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#FFB404
RGBrgb(255, 180, 4)
HSLhsl(42, 100%, 51%)
HSVhsv(42, 98%, 100%)
CMYKcmyk(0%, 29.4%, 98.4%, 0%)
CIE-LABlab(78.41, 16.14, 80.84)
CIE-LCHlch(78.41, 82.43, 78.71°)
OKLaboklab(81.98% 0.0343 0.1666)
OKLCHoklch(81.98% 0.17 78.4)
XYZxyz(57.5877, 53.9164, 7.4888)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFB404 #044FFF
analogous
#FF3604 #FFB404 #CCFF04
triadic
#FFB404 #04FFB4 #B404FF
tetradic
#FFB404 #04FF36 #044FFF #FF04CC
square
#FFB404 #04FF36 #044FFF #FF04CC
split-complementary
#FFB404 #04CCFF #3604FF
monochromatic
#896000 #C68B00 #FFB404 #FFC641 #FFD97E

Accessibility & contrast

On white

1.78
#FFB404 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#FFB404 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFB404
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFB404#FFFFFF#000000##000000
##FFB4041.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#E2C918
Tritanopia (blue-blind)
#FF9F99
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ffb404;
/* rgb */ color: rgb(255, 180, 4);
/* oklch */ color: oklch(82.0% 0.170 78.4);
Tailwind
colors: {
  custom: {
    50: '#ffca67',
    500: '#ffb404',
    950: '#000000',
  },
}
SCSS
$custom: #ffb404;
$custom-light: #ffca67;
$custom-dark: #000000;
JSON
{
  "hex": "#ffb404",
  "rgb": {
    "r": 255,
    "g": 180,
    "b": 4
  },
  "hsl": {
    "h": 42.072,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.8198,
    "c": 0.17014,
    "h": 78.4
  },
  "luminance": 0.53911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFB404

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

Preview Lab → · Contrast checker → · Palette generator →

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