#FAFF52#FAFF52

#FAFF52 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 96.7% C 0.186 H 111.1°. Best body text is #000000 at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#FAFF52
RGBrgb(250, 255, 82)
HSLhsl(62, 100%, 66%)
HSVhsv(62, 68%, 100%)
CMYKcmyk(2%, 0%, 67.8%, 0%)
CIE-LABlab(97.01, -21.57, 77.86)
CIE-LCHlch(97.01, 80.79, 105.49°)
OKLaboklab(96.68% -0.0669 0.1737)
OKLCHoklch(96.68% 0.186 111.1)
XYZxyz(76.7098, 92.4552, 21.7858)
Luminance0.9245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF52 #5752FF
analogous
#FFAD52 #FAFF52 #A3FF52
triadic
#FAFF52 #52FAFF #FF52FA
tetradic
#FAFF52 #52FFAD #5752FF #FF52A3
square
#FAFF52 #52FFAD #5752FF #FF52A3
split-complementary
#FAFF52 #52A3FF #AD52FF
monochromatic
#D0D700 #F8FF15 #FAFF52 #FCFF8F #FEFFCC

Accessibility & contrast

On white

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

On black

19.49
#FAFF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFF52
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFF52#FFFFFF#000000##000000
##FAFF521.001.0819.4919.49
#FFFFFF1.081.0021.0021.00
#00000019.4921.001.001.00
##00000019.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF436
Deuteranopia (green-blind)
#FFF95F
Tritanopia (blue-blind)
#FFF0DD
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #faff52;
/* rgb */ color: rgb(250, 255, 82);
/* oklch */ color: oklch(96.7% 0.186 111.1);
Tailwind
colors: {
  custom: {
    50: '#ffff8c',
    500: '#faff52',
    950: '#000000',
  },
}
SCSS
$custom: #faff52;
$custom-light: #ffff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#faff52",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 61.734,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.96677,
    "c": 0.18609,
    "h": 111.1
  },
  "luminance": 0.92453
}

Semantic roles & 50–950 ramp

primary
#FAFF52
secondary
#2A25D0
accent
#00E607
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAFF52

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

Preview Lab → · Contrast checker → · Palette generator →

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