#FAEF99#FAEF99

#FAEF99 is a very light, moderate yellow. Relative luminance 0.844; OKLCH L 94.2% C 0.107 H 101.9°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#FAEF99
RGBrgb(250, 239, 153)
HSLhsl(53, 91%, 79%)
HSVhsv(53, 39%, 98%)
CMYKcmyk(0%, 4.4%, 38.8%, 2%)
CIE-LABlab(93.61, -8.27, 42.92)
CIE-LCHlch(93.61, 43.71, 100.91°)
OKLaboklab(94.2% -0.0221 0.105)
OKLCHoklch(94.2% 0.107 101.9)
XYZxyz(76.0420, 84.3590, 42.4080)
Luminance0.8436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF99 #99A4FA
analogous
#FABF99 #FAEF99 #D5FA99
triadic
#FAEF99 #99FAEF #EF99FA
tetradic
#FAEF99 #99FABF #99A4FA #FA99D5
square
#FAEF99 #99FABF #99A4FA #FA99D5
split-complementary
#FAEF99 #99D5FA #BF99FA
monochromatic
#F4DD24 #F7E65F #FAEF99 #FDF8D3 #FEFAE2

Accessibility & contrast

On white

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

On black

17.87
#FAEF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF99
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF99#FFFFFF#000000##000000
##FAEF991.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA93
Deuteranopia (green-blind)
#FFEF9C
Tritanopia (blue-blind)
#FFE4DA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faef99;
/* rgb */ color: rgb(250, 239, 153);
/* oklch */ color: oklch(94.2% 0.107 101.9);
Tailwind
colors: {
  custom: {
    50: '#fdf4b8',
    500: '#faef99',
    950: '#000000',
  },
}
SCSS
$custom: #faef99;
$custom-light: #fdf4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#faef99",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 153
  },
  "hsl": {
    "h": 53.196,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.942,
    "c": 0.10731,
    "h": 101.9
  },
  "luminance": 0.84357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAEF99

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

Preview Lab → · Contrast checker → · Palette generator →

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