#FAFF54#FAFF54

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

Color values

HEX#FAFF54
RGBrgb(250, 255, 84)
HSLhsl(62, 100%, 66%)
HSVhsv(62, 67%, 100%)
CMYKcmyk(2%, 0%, 67.1%, 0%)
CIE-LABlab(97.02, -21.47, 77.16)
CIE-LCHlch(97.02, 80.09, 105.55°)
OKLaboklab(96.69% -0.0664 0.1725)
OKLCHoklch(96.69% 0.185 111)
XYZxyz(76.7870, 92.4861, 22.1924)
Luminance0.9248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF54 #5954FF
analogous
#FFAE54 #FAFF54 #A5FF54
triadic
#FAFF54 #54FAFF #FF54FA
tetradic
#FAFF54 #54FFAE #5954FF #FF54A5
square
#FAFF54 #54FFAE #5954FF #FF54A5
split-complementary
#FAFF54 #54A5FF #AE54FF
monochromatic
#D2D900 #F8FF17 #FAFF54 #FCFF91 #FEFFCE

Accessibility & contrast

On white

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

On black

19.50
#FAFF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFF54
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFF54#FFFFFF#000000##000000
##FAFF541.001.0819.5019.50
#FFFFFF1.081.0021.0021.00
#00000019.5021.001.001.00
##00000019.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faff54;
/* rgb */ color: rgb(250, 255, 84);
/* oklch */ color: oklch(96.7% 0.185 111.0);
Tailwind
colors: {
  custom: {
    50: '#ffff8d',
    500: '#faff54',
    950: '#000000',
  },
}
SCSS
$custom: #faff54;
$custom-light: #ffff8d;
$custom-dark: #000000;
JSON
{
  "hex": "#faff54",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 84
  },
  "hsl": {
    "h": 61.754,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.96691,
    "c": 0.18484,
    "h": 111
  },
  "luminance": 0.92484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAFF54

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

Preview Lab → · Contrast checker → · Palette generator →

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