#FCFE7B#FCFE7B

#FCFE7B is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.0% C 0.153 H 109.7°. Best body text is #000000 at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#FCFE7B
RGBrgb(252, 254, 123)
HSLhsl(61, 98%, 74%)
HSVhsv(61, 52%, 100%)
CMYKcmyk(0.8%, 0%, 51.6%, 0.4%)
CIE-LABlab(97.23, -17.63, 61.54)
CIE-LCHlch(97.23, 64.02, 105.99°)
OKLaboklab(97% -0.0518 0.1443)
OKLCHoklch(97% 0.153 109.7)
XYZxyz(79.1637, 93.0110, 32.5178)
Luminance0.9301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCFE7B #7D7BFE
analogous
#FEBF7B #FCFE7B #BBFE7B
triadic
#FCFE7B #7BFCFE #FE7BFC
tetradic
#FCFE7B #7BFEBF #7D7BFE #FE7BBB
square
#FCFE7B #7BFEBF #7D7BFE #FE7BBB
split-complementary
#FCFE7B #7BBBFE #BF7BFE
monochromatic
#F9FD02 #FBFE3E #FCFE7B #FDFEB8 #FEFFE1

Accessibility & contrast

On white

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

On black

19.60
#FCFE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCFE7B
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCFE7B#FFFFFF#000000##000000
##FCFE7B1.001.0719.6019.60
#FFFFFF1.071.0021.0021.00
#00000019.6021.001.001.00
##00000019.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF56E
Deuteranopia (green-blind)
#FFF982
Tritanopia (blue-blind)
#FFF0E1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fcfe7b;
/* rgb */ color: rgb(252, 254, 123);
/* oklch */ color: oklch(97.0% 0.153 109.7);
Tailwind
colors: {
  custom: {
    50: '#fffea5',
    500: '#fcfe7b',
    950: '#000000',
  },
}
SCSS
$custom: #fcfe7b;
$custom-light: #fffea5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcfe7b",
  "rgb": {
    "r": 252,
    "g": 254,
    "b": 123
  },
  "hsl": {
    "h": 60.916,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.97002,
    "c": 0.15326,
    "h": 109.7
  },
  "luminance": 0.93009
}

Semantic roles & 50–950 ramp

primary
#FCFE7B
secondary
#4341DC
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCFE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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