#FFFC7B#FFFC7B

#FFFC7B is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.8% C 0.151 H 107.7°. Best body text is #000000 at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#FFFC7B
RGBrgb(255, 252, 123)
HSLhsl(59, 100%, 74%)
HSVhsv(59, 52%, 100%)
CMYKcmyk(0%, 1.2%, 51.8%, 0%)
CIE-LABlab(96.95, -15.49, 61.27)
CIE-LCHlch(96.95, 63.20, 104.19°)
OKLaboklab(96.83% -0.0458 0.1436)
OKLCHoklch(96.83% 0.151 107.7)
XYZxyz(79.6276, 92.3130, 32.3587)
Luminance0.9231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC7B #7B7EFF
analogous
#FFBA7B #FFFC7B #C0FF7B
triadic
#FFFC7B #7BFFFC #FC7BFF
tetradic
#FFFC7B #7BFFBA #7B7EFF #FF7BC0
square
#FFFC7B #7BFFBA #7B7EFF #FF7BC0
split-complementary
#FFFC7B #7BC0FF #BA7BFF
monochromatic
#FFF901 #FFFB3E #FFFC7B #FFFDB8 #FFFEE0

Accessibility & contrast

On white

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

On black

19.46
#FFFC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC7B
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC7B#FFFFFF#000000##000000
##FFFC7B1.001.0819.4619.46
#FFFFFF1.081.0021.0021.00
#00000019.4621.001.001.00
##00000019.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF36F
Deuteranopia (green-blind)
#FFF982
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc7b;
/* rgb */ color: rgb(255, 252, 123);
/* oklch */ color: oklch(96.8% 0.151 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffda4',
    500: '#fffc7b',
    950: '#000000',
  },
}
SCSS
$custom: #fffc7b;
$custom-light: #fffda4;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc7b",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 123
  },
  "hsl": {
    "h": 58.636,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.96832,
    "c": 0.15076,
    "h": 107.7
  },
  "luminance": 0.92311
}

Semantic roles & 50–950 ramp

primary
#FFFC7B
secondary
#4144DD
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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