#FAFF7C#FAFF7C

#FAFF7C is a very light, vivid yellow. Relative luminance 0.933; OKLCH L 97.1% C 0.154 H 110.9°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#FAFF7C
RGBrgb(250, 255, 124)
HSLhsl(62, 100%, 74%)
HSVhsv(62, 51%, 100%)
CMYKcmyk(2%, 0%, 51.4%, 0%)
CIE-LABlab(97.35, -18.81, 61.19)
CIE-LCHlch(97.35, 64.02, 107.09°)
OKLaboklab(97.06% -0.0549 0.1436)
OKLCHoklch(97.06% 0.154 110.9)
XYZxyz(78.8242, 93.3009, 32.9214)
Luminance0.9330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF7C #817CFF
analogous
#FFC37C #FAFF7C #B9FF7C
triadic
#FAFF7C #7CFAFF #FF7CFA
tetradic
#FAFF7C #7CFFC3 #817CFF #FF7CB9
square
#FAFF7C #7CFFC3 #817CFF #FF7CB9
split-complementary
#FAFF7C #7CB9FF #C37CFF
monochromatic
#F5FF02 #F8FF3F #FAFF7C #FCFFB9 #FEFFE0

Accessibility & contrast

On white

1.07
#FAFF7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.66
#FAFF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFF7C
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFF7C#FFFFFF#000000##000000
##FAFF7C1.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF56F
Deuteranopia (green-blind)
#FFF983
Tritanopia (blue-blind)
#FFF2E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #faff7c;
/* rgb */ color: rgb(250, 255, 124);
/* oklch */ color: oklch(97.1% 0.154 110.9);
Tailwind
colors: {
  custom: {
    50: '#feffa5',
    500: '#faff7c',
    950: '#000000',
  },
}
SCSS
$custom: #faff7c;
$custom-light: #feffa5;
$custom-dark: #000000;
JSON
{
  "hex": "#faff7c",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 124
  },
  "hsl": {
    "h": 62.29,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.97062,
    "c": 0.15377,
    "h": 110.9
  },
  "luminance": 0.93299
}

Semantic roles & 50–950 ramp

primary
#FAFF7C
secondary
#4842DE
accent
#00E609
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FAFF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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