#FFFC70#FFFC70

#FFFC70 is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.7% C 0.160 H 107.9°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FFFC70
RGBrgb(255, 252, 112)
HSLhsl(59, 100%, 72%)
HSVhsv(59, 56%, 100%)
CMYKcmyk(0%, 1.2%, 56.1%, 0%)
CIE-LABlab(96.84, -16.32, 65.97)
CIE-LCHlch(96.84, 67.96, 103.90°)
OKLaboklab(96.71% -0.0493 0.1526)
OKLCHoklch(96.71% 0.16 107.9)
XYZxyz(78.9773, 92.0529, 28.9338)
Luminance0.9205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC70 #7073FF
analogous
#FFB470 #FFFC70 #BBFF70
triadic
#FFFC70 #70FFFC #FC70FF
tetradic
#FFFC70 #70FFB4 #7073FF #FF70BB
square
#FFFC70 #70FFB4 #7073FF #FF70BB
split-complementary
#FFFC70 #70BBFF #B470FF
monochromatic
#F5EF00 #FFFB33 #FFFC70 #FFFDAD #FFFEE0

Accessibility & contrast

On white

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

On black

19.41
#FFFC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC70
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC70#FFFFFF#000000##000000
##FFFC701.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffc70;
/* rgb */ color: rgb(255, 252, 112);
/* oklch */ color: oklch(96.7% 0.160 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffd9e',
    500: '#fffc70',
    950: '#000000',
  },
}
SCSS
$custom: #fffc70;
$custom-light: #fffd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc70",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 112
  },
  "hsl": {
    "h": 58.741,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.96713,
    "c": 0.16033,
    "h": 107.9
  },
  "luminance": 0.92051
}

Semantic roles & 50–950 ramp

primary
#FFFC70
secondary
#373BDC
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFC70

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

Preview Lab → · Contrast checker → · Palette generator →

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