#FFFA52#FFFA52

#FFFA52 is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.0% C 0.180 H 107.7°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#FFFA52
RGBrgb(255, 250, 82)
HSLhsl(58, 100%, 66%)
HSVhsv(58, 68%, 100%)
CMYKcmyk(0%, 2%, 67.8%, 0%)
CIE-LABlab(96.10, -17.17, 77.09)
CIE-LCHlch(96.10, 78.98, 102.56°)
OKLaboklab(96.05% -0.0548 0.1719)
OKLCHoklch(96.05% 0.18 107.7)
XYZxyz(76.9514, 90.2429, 21.3461)
Luminance0.9024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA52 #5257FF
analogous
#FFA352 #FFFA52 #ADFF52
triadic
#FFFA52 #52FFFA #FA52FF
tetradic
#FFFA52 #52FFA3 #5257FF #FF52AD
square
#FFFA52 #52FFA3 #5257FF #FF52AD
split-complementary
#FFFA52 #52ADFF #A352FF
monochromatic
#D7D000 #FFF815 #FFFA52 #FFFC8F #FFFECC

Accessibility & contrast

On white

1.10
#FFFA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.05
#FFFA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA52
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA52#FFFFFF#000000##000000
##FFFA521.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF038
Deuteranopia (green-blind)
#FFF75E
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffa52;
/* rgb */ color: rgb(255, 250, 82);
/* oklch */ color: oklch(96.0% 0.180 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffb8c',
    500: '#fffa52',
    950: '#000000',
  },
}
SCSS
$custom: #fffa52;
$custom-light: #fffb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa52",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 82
  },
  "hsl": {
    "h": 58.266,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.96046,
    "c": 0.1804,
    "h": 107.7
  },
  "luminance": 0.9024
}

Semantic roles & 50–950 ramp

primary
#FFFA52
secondary
#252AD0
accent
#07E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFA52

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

Preview Lab → · Contrast checker → · Palette generator →

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