#FAFF4E#FAFF4E

#FAFF4E is a very light, vivid yellow. Relative luminance 0.924; OKLCH L 96.7% C 0.189 H 111.1°. Best body text is #000000 at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#FAFF4E
RGBrgb(250, 255, 78)
HSLhsl(62, 100%, 65%)
HSVhsv(62, 69%, 100%)
CMYKcmyk(2%, 0%, 69.4%, 0%)
CIE-LABlab(96.98, -21.77, 79.23)
CIE-LCHlch(96.98, 82.17, 105.36°)
OKLaboklab(96.65% -0.0678 0.1759)
OKLCHoklch(96.65% 0.189 111.1)
XYZxyz(76.5620, 92.3961, 21.0074)
Luminance0.9239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF4E #534EFF
analogous
#FFAB4E #FAFF4E #A1FF4E
triadic
#FAFF4E #4EFAFF #FF4EFA
tetradic
#FAFF4E #4EFFAB #534EFF #FF4EA1
square
#FAFF4E #4EFFAB #534EFF #FF4EA1
split-complementary
#FAFF4E #4EA1FF #AB4EFF
monochromatic
#CDD300 #F8FF11 #FAFF4E #FCFF8B #FDFFC8

Accessibility & contrast

On white

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

On black

19.48
#FAFF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFF4E
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFF4E#FFFFFF#000000##000000
##FAFF4E1.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF42F
Deuteranopia (green-blind)
#FFF95B
Tritanopia (blue-blind)
#FFEFDC
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #faff4e;
/* rgb */ color: rgb(250, 255, 78);
/* oklch */ color: oklch(96.7% 0.189 111.1);
Tailwind
colors: {
  custom: {
    50: '#ffff8a',
    500: '#faff4e',
    950: '#000000',
  },
}
SCSS
$custom: #faff4e;
$custom-light: #ffff8a;
$custom-dark: #000000;
JSON
{
  "hex": "#faff4e",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 78
  },
  "hsl": {
    "h": 61.695,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.9665,
    "c": 0.18851,
    "h": 111.1
  },
  "luminance": 0.92394
}

Semantic roles & 50–950 ramp

primary
#FAFF4E
secondary
#2924CD
accent
#00E606
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAFF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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