#FFFE51#FFFE51

#FFFE51 is a very light, vivid yellow. Relative luminance 0.927; OKLCH L 96.9% C 0.185 H 109.1°. Best body text is #000000 at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#FFFE51
RGBrgb(255, 254, 81)
HSLhsl(60, 100%, 66%)
HSVhsv(60, 68%, 100%)
CMYKcmyk(0%, 0.4%, 68.2%, 0%)
CIE-LABlab(97.12, -19.14, 78.46)
CIE-LCHlch(97.12, 80.76, 103.71°)
OKLaboklab(96.86% -0.0604 0.1746)
OKLCHoklch(96.86% 0.185 109.1)
XYZxyz(78.1698, 92.7400, 21.5659)
Luminance0.9274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE51 #5152FF
analogous
#FFA751 #FFFE51 #A9FF51
triadic
#FFFE51 #51FFFE #FE51FF
tetradic
#FFFE51 #51FFA7 #5152FF #FF51A9
square
#FFFE51 #51FFA7 #5152FF #FF51A9
split-complementary
#FFFE51 #51A9FF #A751FF
monochromatic
#D6D400 #FFFE14 #FFFE51 #FFFE8E #FFFFCB

Accessibility & contrast

On white

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

On black

19.55
#FFFE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE51
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE51#FFFFFF#000000##000000
##FFFE511.001.0719.5519.55
#FFFFFF1.071.0021.0021.00
#00000019.5521.001.001.00
##00000019.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF435
Deuteranopia (green-blind)
#FFF95D
Tritanopia (blue-blind)
#FFEEDC
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffe51;
/* rgb */ color: rgb(255, 254, 81);
/* oklch */ color: oklch(96.9% 0.185 109.1);
Tailwind
colors: {
  custom: {
    50: '#fffe8c',
    500: '#fffe51',
    950: '#000000',
  },
}
SCSS
$custom: #fffe51;
$custom-light: #fffe8c;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe51",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 81
  },
  "hsl": {
    "h": 59.655,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.96861,
    "c": 0.18476,
    "h": 109.1
  },
  "luminance": 0.92738
}

Semantic roles & 50–950 ramp

primary
#FFFE51
secondary
#2526D0
accent
#01E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFE51

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

Preview Lab → · Contrast checker → · Palette generator →

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