#FAEF8D#FAEF8D

#FAEF8D is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 94.0% C 0.120 H 102.8°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#FAEF8D
RGBrgb(250, 239, 141)
HSLhsl(54, 92%, 77%)
HSVhsv(54, 44%, 98%)
CMYKcmyk(0%, 4.4%, 43.6%, 2%)
CIE-LABlab(93.44, -9.49, 48.57)
CIE-LCHlch(93.44, 49.49, 101.06°)
OKLaboklab(94.02% -0.0266 0.1172)
OKLCHoklch(94.02% 0.12 102.8)
XYZxyz(75.1002, 83.9823, 37.4483)
Luminance0.8398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF8D #8D98FA
analogous
#FAB98D #FAEF8D #CFFA8D
triadic
#FAEF8D #8DFAEF #EF8DFA
tetradic
#FAEF8D #8DFAB9 #8D98FA #FA8DCF
square
#FAEF8D #8DFAB9 #8D98FA #FA8DCF
split-complementary
#FAEF8D #8DCFFA #B98DFA
monochromatic
#F5DF18 #F7E752 #FAEF8D #FDF7C8 #FEFBE2

Accessibility & contrast

On white

1.18
#FAEF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#FAEF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF8D
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF8D#FFFFFF#000000##000000
##FAEF8D1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE985
Deuteranopia (green-blind)
#FFEF91
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faef8d;
/* rgb */ color: rgb(250, 239, 141);
/* oklch */ color: oklch(94.0% 0.120 102.8);
Tailwind
colors: {
  custom: {
    50: '#fef4b0',
    500: '#faef8d',
    950: '#000000',
  },
}
SCSS
$custom: #faef8d;
$custom-light: #fef4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#faef8d",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 141
  },
  "hsl": {
    "h": 53.945,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94018,
    "c": 0.12015,
    "h": 102.8
  },
  "luminance": 0.8398
}

Semantic roles & 50–950 ramp

primary
#FAEF8D
secondary
#5260D9
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FAEF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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