#FAFF7E#FAFF7E

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

Color values

HEX#FAFF7E
RGBrgb(250, 255, 126)
HSLhsl(62, 100%, 75%)
HSVhsv(62, 51%, 100%)
CMYKcmyk(2%, 0%, 50.6%, 0%)
CIE-LABlab(97.37, -18.65, 60.32)
CIE-LCHlch(97.37, 63.14, 107.18°)
OKLaboklab(97.09% -0.0542 0.1419)
OKLCHoklch(97.09% 0.152 110.9)
XYZxyz(78.9519, 93.3520, 33.5943)
Luminance0.9335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF7E #837EFF
analogous
#FFC47E #FAFF7E #B9FF7E
triadic
#FAFF7E #7EFAFF #FF7EFA
tetradic
#FAFF7E #7EFFC4 #837EFF #FF7EB9
square
#FAFF7E #7EFFC4 #837EFF #FF7EB9
split-complementary
#FAFF7E #7EB9FF #C47EFF
monochromatic
#F5FF04 #F8FF41 #FAFF7E #FCFFBB #FEFFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFF7E#FFFFFF#000000##000000
##FAFF7E1.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)
#FFF572
Deuteranopia (green-blind)
#FFF985
Tritanopia (blue-blind)
#FFF2E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #faff7e;
/* rgb */ color: rgb(250, 255, 126);
/* oklch */ color: oklch(97.1% 0.152 110.9);
Tailwind
colors: {
  custom: {
    50: '#feffa6',
    500: '#faff7e',
    950: '#000000',
  },
}
SCSS
$custom: #faff7e;
$custom-light: #feffa6;
$custom-dark: #000000;
JSON
{
  "hex": "#faff7e",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 126
  },
  "hsl": {
    "h": 62.326,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.97085,
    "c": 0.15193,
    "h": 110.9
  },
  "luminance": 0.9335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAFF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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