#FAFF5C#FAFF5C

#FAFF5C is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 96.8% C 0.180 H 111.0°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#FAFF5C
RGBrgb(250, 255, 92)
HSLhsl(62, 100%, 68%)
HSVhsv(62, 64%, 100%)
CMYKcmyk(2%, 0%, 63.9%, 0%)
CIE-LABlab(97.07, -21.03, 74.24)
CIE-LCHlch(97.07, 77.17, 105.82°)
OKLaboklab(96.75% -0.0644 0.1676)
OKLCHoklch(96.75% 0.18 111)
XYZxyz(77.1184, 92.6186, 23.9379)
Luminance0.9262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF5C #615CFF
analogous
#FFB25C #FAFF5C #A9FF5C
triadic
#FAFF5C #5CFAFF #FF5CFA
tetradic
#FAFF5C #5CFFB2 #615CFF #FF5CA9
square
#FAFF5C #5CFFB2 #615CFF #FF5CA9
split-complementary
#FAFF5C #5CA9FF #B25CFF
monochromatic
#DAE100 #F8FF1F #FAFF5C #FCFF99 #FEFFD6

Accessibility & contrast

On white

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

On black

19.52
#FAFF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFF5C
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFF5C#FFFFFF#000000##000000
##FAFF5C1.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF446
Deuteranopia (green-blind)
#FFF967
Tritanopia (blue-blind)
#FFF0DE
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #faff5c;
/* rgb */ color: rgb(250, 255, 92);
/* oklch */ color: oklch(96.8% 0.180 111.0);
Tailwind
colors: {
  custom: {
    50: '#ffff92',
    500: '#faff5c',
    950: '#000000',
  },
}
SCSS
$custom: #faff5c;
$custom-light: #ffff92;
$custom-dark: #000000;
JSON
{
  "hex": "#faff5c",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 92
  },
  "hsl": {
    "h": 61.84,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.96752,
    "c": 0.17952,
    "h": 111
  },
  "luminance": 0.92617
}

Semantic roles & 50–950 ramp

primary
#FAFF5C
secondary
#2C26D9
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAFF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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