#FFA804#FFA804

#FFA804 is a light, vivid orange. Relative luminance 0.493; OKLCH L 79.8% C 0.170 H 72.1°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#FFA804
RGBrgb(255, 168, 4)
HSLhsl(39, 100%, 51%)
HSVhsv(39, 98%, 100%)
CMYKcmyk(0%, 34.1%, 98.4%, 0%)
CIE-LABlab(75.62, 22.40, 78.95)
CIE-LCHlch(75.62, 82.07, 74.16°)
OKLaboklab(79.81% 0.0523 0.162)
OKLCHoklch(79.81% 0.17 72.1)
XYZxyz(55.2692, 49.2794, 6.7160)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFA804 #045BFF
analogous
#FF2A04 #FFA804 #D9FF04
triadic
#FFA804 #04FFA8 #A804FF
tetradic
#FFA804 #04FF2A #045BFF #FF04D9
square
#FFA804 #04FF2A #045BFF #FF04D9
split-complementary
#FFA804 #04D9FF #2A04FF
monochromatic
#895900 #C68100 #FFA804 #FFBD41 #FFD27E

Accessibility & contrast

On white

1.93
#FFA804 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#FFA804 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFA804
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFA804#FFFFFF#000000##000000
##FFA8041.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#DAC312
Tritanopia (blue-blind)
#FF928F
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ffa804;
/* rgb */ color: rgb(255, 168, 4);
/* oklch */ color: oklch(79.8% 0.170 72.1);
Tailwind
colors: {
  custom: {
    50: '#ffc165',
    500: '#ffa804',
    950: '#000000',
  },
}
SCSS
$custom: #ffa804;
$custom-light: #ffc165;
$custom-dark: #000000;
JSON
{
  "hex": "#ffa804",
  "rgb": {
    "r": 255,
    "g": 168,
    "b": 4
  },
  "hsl": {
    "h": 39.203,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79806,
    "c": 0.17021,
    "h": 72.1
  },
  "luminance": 0.49274
}

Semantic roles & 50–950 ramp

primary
#FFA804
secondary
#789EE7
accent
#73FF29
background
#FFFBF6
surface
#FFF7EB
border
#D7D0C6
text
#1A1207
muted
#87817A

Preview Lab

Preview with #FFA804

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

Preview Lab → · Contrast checker → · Palette generator →

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