#FFFC8E#FFFC8E

#FFFC8E is a very light, vivid yellow. Relative luminance 0.928; OKLCH L 97.1% C 0.133 H 107.3°. Best body text is #000000 at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#FFFC8E
RGBrgb(255, 252, 142)
HSLhsl(58, 100%, 78%)
HSVhsv(58, 44%, 100%)
CMYKcmyk(0%, 1.2%, 44.3%, 0%)
CIE-LABlab(97.16, -13.85, 52.78)
CIE-LCHlch(97.16, 54.56, 104.70°)
OKLaboklab(97.07% -0.0393 0.1266)
OKLCHoklch(97.07% 0.133 107.3)
XYZxyz(80.9345, 92.8358, 39.2416)
Luminance0.9283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC8E #8E91FF
analogous
#FFC38E #FFFC8E #C9FF8E
triadic
#FFFC8E #8EFFFC #FC8EFF
tetradic
#FFFC8E #8EFFC3 #8E91FF #FF8EC9
square
#FFFC8E #8EFFC3 #8E91FF #FF8EC9
split-complementary
#FFFC8E #8EC9FF #C38EFF
monochromatic
#FFF914 #FFFA51 #FFFC8E #FFFECB #FFFEE0

Accessibility & contrast

On white

1.07
#FFFC8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.57
#FFFC8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC8E
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC8E#FFFFFF#000000##000000
##FFFC8E1.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF485
Deuteranopia (green-blind)
#FFF993
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc8e;
/* rgb */ color: rgb(255, 252, 142);
/* oklch */ color: oklch(97.1% 0.133 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffdb1',
    500: '#fffc8e',
    950: '#000000',
  },
}
SCSS
$custom: #fffc8e;
$custom-light: #fffdb1;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc8e",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 142
  },
  "hsl": {
    "h": 58.407,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.9707,
    "c": 0.13252,
    "h": 107.3
  },
  "luminance": 0.92834
}

Semantic roles & 50–950 ramp

primary
#FFFC8E
secondary
#5155E0
accent
#06E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFC8E

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

Preview Lab → · Contrast checker → · Palette generator →

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