#FFFC74#FFFC74

#FFFC74 is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.8% C 0.157 H 107.8°. Best body text is #000000 at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#FFFC74
RGBrgb(255, 252, 116)
HSLhsl(59, 100%, 73%)
HSVhsv(59, 55%, 100%)
CMYKcmyk(0%, 1.2%, 54.5%, 0%)
CIE-LABlab(96.88, -16.03, 64.29)
CIE-LCHlch(96.88, 66.25, 104.00°)
OKLaboklab(96.76% -0.0481 0.1494)
OKLCHoklch(96.76% 0.157 107.8)
XYZxyz(79.2050, 92.1440, 30.1329)
Luminance0.9214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC74 #7477FF
analogous
#FFB674 #FFFC74 #BCFF74
triadic
#FFFC74 #74FFFC #FC74FF
tetradic
#FFFC74 #74FFB6 #7477FF #FF74BC
square
#FFFC74 #74FFB6 #7477FF #FF74BC
split-complementary
#FFFC74 #74BCFF #B674FF
monochromatic
#F9F300 #FFFB37 #FFFC74 #FFFDB1 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.43
#FFFC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC74
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC74#FFFFFF#000000##000000
##FFFC741.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF366
Deuteranopia (green-blind)
#FFF97B
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc74;
/* rgb */ color: rgb(255, 252, 116);
/* oklch */ color: oklch(96.8% 0.157 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffda0',
    500: '#fffc74',
    950: '#000000',
  },
}
SCSS
$custom: #fffc74;
$custom-light: #fffda0;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc74",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 116
  },
  "hsl": {
    "h": 58.705,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.96755,
    "c": 0.15694,
    "h": 107.8
  },
  "luminance": 0.92142
}

Semantic roles & 50–950 ramp

primary
#FFFC74
secondary
#3B3EDC
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFC74

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

Preview Lab → · Contrast checker → · Palette generator →

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