#FFFC4E#FFFC4E

#FFFC4E is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.4% C 0.185 H 108.4°. Best body text is #000000 at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#FFFC4E
RGBrgb(255, 252, 78)
HSLhsl(59, 100%, 65%)
HSVhsv(59, 69%, 100%)
CMYKcmyk(0%, 1.2%, 69.4%, 0%)
CIE-LABlab(96.59, -18.32, 78.98)
CIE-LCHlch(96.59, 81.07, 103.06°)
OKLaboklab(96.43% -0.0584 0.1752)
OKLCHoklch(96.43% 0.185 108.4)
XYZxyz(77.4284, 91.4333, 20.7760)
Luminance0.9143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC4E #4E51FF
analogous
#FFA34E #FFFC4E #A9FF4E
triadic
#FFFC4E #4EFFFC #FC4EFF
tetradic
#FFFC4E #4EFFA3 #4E51FF #FF4EA9
square
#FFFC4E #4EFFA3 #4E51FF #FF4EA9
split-complementary
#FFFC4E #4EA9FF #A34EFF
monochromatic
#D3CF00 #FFFB11 #FFFC4E #FFFD8B #FFFEC8

Accessibility & contrast

On white

1.09
#FFFC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.29
#FFFC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC4E
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC4E#FFFFFF#000000##000000
##FFFC4E1.001.0919.2919.29
#FFFFFF1.091.0021.0021.00
#00000019.2921.001.001.00
##00000019.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF230
Deuteranopia (green-blind)
#FFF85B
Tritanopia (blue-blind)
#FFECDA
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc4e;
/* rgb */ color: rgb(255, 252, 78);
/* oklch */ color: oklch(96.4% 0.185 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffd8a',
    500: '#fffc4e',
    950: '#000000',
  },
}
SCSS
$custom: #fffc4e;
$custom-light: #fffd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc4e",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 78
  },
  "hsl": {
    "h": 58.983,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.96429,
    "c": 0.18469,
    "h": 108.4
  },
  "luminance": 0.91431
}

Semantic roles & 50–950 ramp

primary
#FFFC4E
secondary
#2427CD
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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