#FEC803#FEC803

#FEC803 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.6% C 0.175 H 88.8°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#FEC803
RGBrgb(254, 200, 3)
HSLhsl(47, 99%, 50%)
HSVhsv(47, 99%, 100%)
CMYKcmyk(0%, 21.3%, 98.8%, 0.4%)
CIE-LABlab(83.12, 5.33, 84.14)
CIE-LCHlch(83.12, 84.31, 86.37°)
OKLaboklab(85.65% 0.0036 0.1746)
OKLCHoklch(85.65% 0.175 88.8)
XYZxyz(61.5480, 62.3904, 8.8870)
Luminance0.6239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC803 #0339FE
analogous
#FE4B03 #FEC803 #B6FE03
triadic
#FEC803 #03FEC8 #C803FE
tetradic
#FEC803 #03FE4B #0339FE #FE03B6
square
#FEC803 #03FE4B #0339FE #FE03B6
split-complementary
#FEC803 #03B6FE #4B03FE
monochromatic
#866901 #C39901 #FEC803 #FED540 #FEE37D

Accessibility & contrast

On white

1.56
#FEC803 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#FEC803 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC803
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC803#FFFFFF#000000##000000
##FEC8031.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C600
Deuteranopia (green-blind)
#EFD51F
Tritanopia (blue-blind)
#FFB5AA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #fec803;
/* rgb */ color: rgb(254, 200, 3);
/* oklch */ color: oklch(85.6% 0.175 88.8);
Tailwind
colors: {
  custom: {
    50: '#ffd86a',
    500: '#fec803',
    950: '#000000',
  },
}
SCSS
$custom: #fec803;
$custom-light: #ffd86a;
$custom-dark: #000000;
JSON
{
  "hex": "#fec803",
  "rgb": {
    "r": 254,
    "g": 200,
    "b": 3
  },
  "hsl": {
    "h": 47.092,
    "s": 99.209,
    "l": 50.392
  },
  "oklch": {
    "l": 0.85649,
    "c": 0.17467,
    "h": 88.8
  },
  "luminance": 0.62386
}

Semantic roles & 50–950 ramp

primary
#FEC803
secondary
#19328C
accent
#57FF29
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#1A1408
muted
#87837D

Preview Lab

Preview with #FEC803

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

Preview Lab → · Contrast checker → · Palette generator →

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