#FAFF7D#FAFF7D

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

Color values

HEX#FAFF7D
RGBrgb(250, 255, 125)
HSLhsl(62, 100%, 75%)
HSVhsv(62, 51%, 100%)
CMYKcmyk(2%, 0%, 51%, 0%)
CIE-LABlab(97.36, -18.73, 60.76)
CIE-LCHlch(97.36, 63.58, 107.14°)
OKLaboklab(97.07% -0.0546 0.1428)
OKLCHoklch(97.07% 0.153 110.9)
XYZxyz(78.8877, 93.3263, 33.2562)
Luminance0.9333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF7D #827DFF
analogous
#FFC37D #FAFF7D #B9FF7D
triadic
#FAFF7D #7DFAFF #FF7DFA
tetradic
#FAFF7D #7DFFC3 #827DFF #FF7DB9
square
#FAFF7D #7DFFC3 #827DFF #FF7DB9
split-complementary
#FAFF7D #7DB9FF #C37DFF
monochromatic
#F5FF03 #F8FF40 #FAFF7D #FCFFBA #FEFFE0

Accessibility & contrast

On white

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

On black

19.67
#FAFF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFF7D
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFF7D#FFFFFF#000000##000000
##FAFF7D1.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faff7d;
/* rgb */ color: rgb(250, 255, 125);
/* oklch */ color: oklch(97.1% 0.153 110.9);
Tailwind
colors: {
  custom: {
    50: '#feffa6',
    500: '#faff7d',
    950: '#000000',
  },
}
SCSS
$custom: #faff7d;
$custom-light: #feffa6;
$custom-dark: #000000;
JSON
{
  "hex": "#faff7d",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 125
  },
  "hsl": {
    "h": 62.308,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.97074,
    "c": 0.15286,
    "h": 110.9
  },
  "luminance": 0.93325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAFF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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