#FFFD52#FFFD52

#FFFD52 is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.7% C 0.183 H 108.7°. Best body text is #000000 at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#FFFD52
RGBrgb(255, 253, 82)
HSLhsl(59, 100%, 66%)
HSVhsv(59, 68%, 100%)
CMYKcmyk(0%, 0.8%, 67.8%, 0%)
CIE-LABlab(96.87, -18.61, 77.85)
CIE-LCHlch(96.87, 80.05, 103.44°)
OKLaboklab(96.66% -0.0588 0.1735)
OKLCHoklch(96.66% 0.183 108.7)
XYZxyz(77.8910, 92.1221, 21.6593)
Luminance0.9212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD52 #5254FF
analogous
#FFA652 #FFFD52 #AAFF52
triadic
#FFFD52 #52FFFD #FD52FF
tetradic
#FFFD52 #52FFA6 #5254FF #FF52AA
square
#FFFD52 #52FFA6 #5254FF #FF52AA
split-complementary
#FFFD52 #52AAFF #A652FF
monochromatic
#D7D400 #FFFC15 #FFFD52 #FFFE8F #FFFECC

Accessibility & contrast

On white

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

On black

19.42
#FFFD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD52
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD52#FFFFFF#000000##000000
##FFFD521.001.0819.4219.42
#FFFFFF1.081.0021.0021.00
#00000019.4221.001.001.00
##00000019.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF337
Deuteranopia (green-blind)
#FFF95E
Tritanopia (blue-blind)
#FFEDDB
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffd52;
/* rgb */ color: rgb(255, 253, 82);
/* oklch */ color: oklch(96.7% 0.183 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffd8c',
    500: '#fffd52',
    950: '#000000',
  },
}
SCSS
$custom: #fffd52;
$custom-light: #fffd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd52",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 82
  },
  "hsl": {
    "h": 59.306,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.96662,
    "c": 0.18321,
    "h": 108.7
  },
  "luminance": 0.9212
}

Semantic roles & 50–950 ramp

primary
#FFFD52
secondary
#2527D0
accent
#03E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFD52

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

Preview Lab → · Contrast checker → · Palette generator →

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