#FEFF51#FEFF51

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

Color values

HEX#FEFF51
RGBrgb(254, 255, 81)
HSLhsl(60, 100%, 66%)
HSVhsv(60, 68%, 100%)
CMYKcmyk(0.4%, 0%, 68.2%, 0%)
CIE-LABlab(97.30, -20.02, 78.61)
CIE-LCHlch(97.30, 81.12, 104.29°)
OKLaboklab(96.99% -0.0628 0.175)
OKLCHoklch(96.99% 0.186 109.7)
XYZxyz(78.1209, 93.1872, 21.6547)
Luminance0.9318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFF51 #5251FF
analogous
#FFA951 #FEFF51 #A7FF51
triadic
#FEFF51 #51FEFF #FF51FE
tetradic
#FEFF51 #51FFA9 #5251FF #FF51A7
square
#FEFF51 #51FFA9 #5251FF #FF51A7
split-complementary
#FEFF51 #51A7FF #A951FF
monochromatic
#D4D600 #FEFF14 #FEFF51 #FEFF8E #FFFFCB

Accessibility & contrast

On white

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

On black

19.64
#FEFF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFF51
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFF51#FFFFFF#000000##000000
##FEFF511.001.0719.6419.64
#FFFFFF1.071.0021.0021.00
#00000019.6421.001.001.00
##00000019.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF434
Deuteranopia (green-blind)
#FFFA5E
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #feff51;
/* rgb */ color: rgb(254, 255, 81);
/* oklch */ color: oklch(97.0% 0.186 109.7);
Tailwind
colors: {
  custom: {
    50: '#ffff8c',
    500: '#feff51',
    950: '#000000',
  },
}
SCSS
$custom: #feff51;
$custom-light: #ffff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#feff51",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 81
  },
  "hsl": {
    "h": 60.345,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.96987,
    "c": 0.1859,
    "h": 109.7
  },
  "luminance": 0.93185
}

Semantic roles & 50–950 ramp

primary
#FEFF51
secondary
#2625D0
accent
#00E601
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FEFF51

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

Preview Lab → · Contrast checker → · Palette generator →

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