#FFFE52#FFFE52

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

Color values

HEX#FFFE52
RGBrgb(255, 254, 82)
HSLhsl(60, 100%, 66%)
HSVhsv(60, 68%, 100%)
CMYKcmyk(0%, 0.4%, 67.8%, 0%)
CIE-LABlab(97.13, -19.09, 78.11)
CIE-LCHlch(97.13, 80.41, 103.73°)
OKLaboklab(96.87% -0.0601 0.1741)
OKLCHoklch(96.87% 0.184 109.1)
XYZxyz(78.2075, 92.7552, 21.7648)
Luminance0.9275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE52 #5253FF
analogous
#FFA752 #FFFE52 #A9FF52
triadic
#FFFE52 #52FFFE #FE52FF
tetradic
#FFFE52 #52FFA7 #5253FF #FF52A9
square
#FFFE52 #52FFA7 #5253FF #FF52A9
split-complementary
#FFFE52 #52A9FF #A752FF
monochromatic
#D7D500 #FFFE15 #FFFE52 #FFFE8F #FFFFCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFE52#FFFFFF#000000##000000
##FFFE521.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)
#FFF436
Deuteranopia (green-blind)
#FFF95E
Tritanopia (blue-blind)
#FFEEDC
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffe52;
/* rgb */ color: rgb(255, 254, 82);
/* oklch */ color: oklch(96.9% 0.184 109.1);
Tailwind
colors: {
  custom: {
    50: '#fffe8c',
    500: '#fffe52',
    950: '#000000',
  },
}
SCSS
$custom: #fffe52;
$custom-light: #fffe8c;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe52",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 82
  },
  "hsl": {
    "h": 59.653,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.96868,
    "c": 0.18415,
    "h": 109.1
  },
  "luminance": 0.92753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFE52

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

Preview Lab → · Contrast checker → · Palette generator →

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