#FAEF98#FAEF98

#FAEF98 is a very light, moderate yellow. Relative luminance 0.843; OKLCH L 94.2% C 0.108 H 102.0°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#FAEF98
RGBrgb(250, 239, 152)
HSLhsl(53, 91%, 79%)
HSVhsv(53, 39%, 98%)
CMYKcmyk(0%, 4.4%, 39.2%, 2%)
CIE-LABlab(93.59, -8.38, 43.39)
CIE-LCHlch(93.59, 44.19, 100.93°)
OKLaboklab(94.18% -0.0225 0.106)
OKLCHoklch(94.18% 0.108 102)
XYZxyz(75.9597, 84.3261, 41.9749)
Luminance0.8432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF98 #98A3FA
analogous
#FABE98 #FAEF98 #D4FA98
triadic
#FAEF98 #98FAEF #EF98FA
tetradic
#FAEF98 #98FABE #98A3FA #FA98D4
square
#FAEF98 #98FABE #98A3FA #FA98D4
split-complementary
#FAEF98 #98D4FA #BE98FA
monochromatic
#F4DD23 #F7E65E #FAEF98 #FDF8D2 #FEFAE2

Accessibility & contrast

On white

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

On black

17.86
#FAEF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF98
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF98#FFFFFF#000000##000000
##FAEF981.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA91
Deuteranopia (green-blind)
#FFEF9B
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faef98;
/* rgb */ color: rgb(250, 239, 152);
/* oklch */ color: oklch(94.2% 0.108 102.0);
Tailwind
colors: {
  custom: {
    50: '#fdf4b7',
    500: '#faef98',
    950: '#000000',
  },
}
SCSS
$custom: #faef98;
$custom-light: #fdf4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#faef98",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 53.265,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94184,
    "c": 0.10841,
    "h": 102
  },
  "luminance": 0.84324
}

Semantic roles & 50–950 ramp

primary
#FAEF98
secondary
#5C6ADB
accent
#1AE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAEF98

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

Preview Lab → · Contrast checker → · Palette generator →

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