#FEFF52#FEFF52

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

Color values

HEX#FEFF52
RGBrgb(254, 255, 82)
HSLhsl(60, 100%, 66%)
HSVhsv(60, 68%, 100%)
CMYKcmyk(0.4%, 0%, 67.8%, 0%)
CIE-LABlab(97.31, -19.97, 78.26)
CIE-LCHlch(97.31, 80.77, 104.31°)
OKLaboklab(96.99% -0.0626 0.1744)
OKLCHoklch(96.99% 0.185 109.7)
XYZxyz(78.1587, 93.2023, 21.8537)
Luminance0.9320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFF52 #5352FF
analogous
#FFA952 #FEFF52 #A7FF52
triadic
#FEFF52 #52FEFF #FF52FE
tetradic
#FEFF52 #52FFA9 #5352FF #FF52A7
square
#FEFF52 #52FFA9 #5352FF #FF52A7
split-complementary
#FEFF52 #52A7FF #A952FF
monochromatic
#D5D700 #FEFF15 #FEFF52 #FEFF8F #FFFFCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEFF52#FFFFFF#000000##000000
##FEFF521.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)
#FFF436
Deuteranopia (green-blind)
#FFFA5E
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #feff52;
/* rgb */ color: rgb(254, 255, 82);
/* oklch */ color: oklch(97.0% 0.185 109.7);
Tailwind
colors: {
  custom: {
    50: '#ffff8c',
    500: '#feff52',
    950: '#000000',
  },
}
SCSS
$custom: #feff52;
$custom-light: #ffff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#feff52",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 60.347,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.96994,
    "c": 0.18528,
    "h": 109.7
  },
  "luminance": 0.932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEFF52

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

Preview Lab → · Contrast checker → · Palette generator →

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