#FAEF96#FAEF96

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

Color values

HEX#FAEF96
RGBrgb(250, 239, 150)
HSLhsl(53, 91%, 78%)
HSVhsv(53, 40%, 98%)
CMYKcmyk(0%, 4.4%, 40%, 2%)
CIE-LABlab(93.56, -8.59, 44.34)
CIE-LCHlch(93.56, 45.16, 100.96°)
OKLaboklab(94.15% -0.0233 0.1081)
OKLCHoklch(94.15% 0.111 102.2)
XYZxyz(75.7973, 84.2611, 41.1195)
Luminance0.8426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF96 #96A1FA
analogous
#FABD96 #FAEF96 #D3FA96
triadic
#FAEF96 #96FAEF #EF96FA
tetradic
#FAEF96 #96FABD #96A1FA #FA96D3
square
#FAEF96 #96FABD #96A1FA #FA96D3
split-complementary
#FAEF96 #96D3FA #BD96FA
monochromatic
#F4DD21 #F7E65C #FAEF96 #FDF8D0 #FEFBE2

Accessibility & contrast

On white

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

On black

17.85
#FAEF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF96
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF96#FFFFFF#000000##000000
##FAEF961.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE98F
Deuteranopia (green-blind)
#FFEF9A
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faef96;
/* rgb */ color: rgb(250, 239, 150);
/* oklch */ color: oklch(94.2% 0.111 102.2);
Tailwind
colors: {
  custom: {
    50: '#fdf4b6',
    500: '#faef96',
    950: '#000000',
  },
}
SCSS
$custom: #faef96;
$custom-light: #fdf4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#faef96",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 150
  },
  "hsl": {
    "h": 53.4,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.94153,
    "c": 0.11058,
    "h": 102.2
  },
  "luminance": 0.84259
}

Semantic roles & 50–950 ramp

primary
#FAEF96
secondary
#5A68DA
accent
#19E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAEF96

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

Preview Lab → · Contrast checker → · Palette generator →

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