#FAEF97#FAEF97

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

Color values

HEX#FAEF97
RGBrgb(250, 239, 151)
HSLhsl(53, 91%, 79%)
HSVhsv(53, 40%, 98%)
CMYKcmyk(0%, 4.4%, 39.6%, 2%)
CIE-LABlab(93.58, -8.48, 43.87)
CIE-LCHlch(93.58, 44.68, 100.95°)
OKLaboklab(94.17% -0.0229 0.1071)
OKLCHoklch(94.17% 0.109 102.1)
XYZxyz(75.8782, 84.2934, 41.5454)
Luminance0.8429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF97 #97A2FA
analogous
#FABD97 #FAEF97 #D3FA97
triadic
#FAEF97 #97FAEF #EF97FA
tetradic
#FAEF97 #97FABD #97A2FA #FA97D3
square
#FAEF97 #97FABD #97A2FA #FA97D3
split-complementary
#FAEF97 #97D3FA #BD97FA
monochromatic
#F4DD22 #F7E65D #FAEF97 #FDF8D1 #FEFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAEF97#FFFFFF#000000##000000
##FAEF971.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)
#FEEA90
Deuteranopia (green-blind)
#FFEF9B
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faef97;
/* rgb */ color: rgb(250, 239, 151);
/* oklch */ color: oklch(94.2% 0.109 102.1);
Tailwind
colors: {
  custom: {
    50: '#fdf4b6',
    500: '#faef97',
    950: '#000000',
  },
}
SCSS
$custom: #faef97;
$custom-light: #fdf4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#faef97",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 53.333,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94169,
    "c": 0.10949,
    "h": 102.1
  },
  "luminance": 0.84291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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