#FEFE54#FEFE54

#FEFE54 is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 96.8% C 0.183 H 109.4°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#FEFE54
RGBrgb(254, 254, 84)
HSLhsl(60, 99%, 66%)
HSVhsv(60, 67%, 100%)
CMYKcmyk(0%, 0%, 66.9%, 0.4%)
CIE-LABlab(97.06, -19.39, 77.30)
CIE-LCHlch(97.06, 79.70, 104.08°)
OKLaboklab(96.8% -0.0608 0.1727)
OKLCHoklch(96.8% 0.183 109.4)
XYZxyz(77.9178, 92.5968, 22.1543)
Luminance0.9260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFE54 #5454FE
analogous
#FEA954 #FEFE54 #A9FE54
triadic
#FEFE54 #54FEFE #FE54FE
tetradic
#FEFE54 #54FEA9 #5454FE #FE54A9
square
#FEFE54 #54FEA9 #5454FE #FE54A9
split-complementary
#FEFE54 #54A9FE #A954FE
monochromatic
#D6D601 #FEFE17 #FEFE54 #FEFE91 #FFFFCE

Accessibility & contrast

On white

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

On black

19.52
#FEFE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFE54
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFE54#FFFFFF#000000##000000
##FEFE541.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefe54;
/* rgb */ color: rgb(254, 254, 84);
/* oklch */ color: oklch(96.8% 0.183 109.4);
Tailwind
colors: {
  custom: {
    50: '#fffe8d',
    500: '#fefe54',
    950: '#000000',
  },
}
SCSS
$custom: #fefe54;
$custom-light: #fffe8d;
$custom-dark: #000000;
JSON
{
  "hex": "#fefe54",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 98.837,
    "l": 66.275
  },
  "oklch": {
    "l": 0.96802,
    "c": 0.18308,
    "h": 109.4
  },
  "luminance": 0.92595
}

Semantic roles & 50–950 ramp

primary
#FEFE54
secondary
#2626D0
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FEFE54

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

Preview Lab → · Contrast checker → · Palette generator →

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