#FAEF8B#FAEF8B

#FAEF8B is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 94.0% C 0.122 H 102.9°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#FAEF8B
RGBrgb(250, 239, 139)
HSLhsl(54, 92%, 76%)
HSVhsv(54, 44%, 98%)
CMYKcmyk(0%, 4.4%, 44.4%, 2%)
CIE-LABlab(93.42, -9.68, 49.50)
CIE-LCHlch(93.42, 50.44, 101.07°)
OKLaboklab(93.99% -0.0274 0.1191)
OKLCHoklch(93.99% 0.122 102.9)
XYZxyz(74.9528, 83.9233, 36.6716)
Luminance0.8392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF8B #8B96FA
analogous
#FAB88B #FAEF8B #CEFA8B
triadic
#FAEF8B #8BFAEF #EF8BFA
tetradic
#FAEF8B #8BFAB8 #8B96FA #FA8BCE
square
#FAEF8B #8BFAB8 #8B96FA #FA8BCE
split-complementary
#FAEF8B #8BCEFA #B88BFA
monochromatic
#F5DF16 #F7E750 #FAEF8B #FDF7C6 #FEFBE2

Accessibility & contrast

On white

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

On black

17.78
#FAEF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF8B
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF8B#FFFFFF#000000##000000
##FAEF8B1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faef8b;
/* rgb */ color: rgb(250, 239, 139);
/* oklch */ color: oklch(94.0% 0.122 102.9);
Tailwind
colors: {
  custom: {
    50: '#fef4ae',
    500: '#faef8b',
    950: '#000000',
  },
}
SCSS
$custom: #faef8b;
$custom-light: #fef4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#faef8b",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 139
  },
  "hsl": {
    "h": 54.054,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93989,
    "c": 0.12222,
    "h": 102.9
  },
  "luminance": 0.83921
}

Semantic roles & 50–950 ramp

primary
#FAEF8B
secondary
#505ED9
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAEF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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