#FAEF9C#FAEF9C

#FAEF9C is a very light, moderate yellow. Relative luminance 0.845; OKLCH L 94.2% C 0.104 H 101.7°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#FAEF9C
RGBrgb(250, 239, 156)
HSLhsl(53, 90%, 80%)
HSVhsv(53, 38%, 98%)
CMYKcmyk(0%, 4.4%, 37.6%, 2%)
CIE-LABlab(93.65, -7.95, 41.49)
CIE-LCHlch(93.65, 42.25, 100.85°)
OKLaboklab(94.25% -0.021 0.1019)
OKLCHoklch(94.25% 0.104 101.7)
XYZxyz(76.2928, 84.4593, 43.7294)
Luminance0.8446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF9C #9CA7FA
analogous
#FAC09C #FAEF9C #D6FA9C
triadic
#FAEF9C #9CFAEF #EF9CFA
tetradic
#FAEF9C #9CFAC0 #9CA7FA #FA9CD6
square
#FAEF9C #9CFAC0 #9CA7FA #FA9CD6
split-complementary
#FAEF9C #9CD6FA #C09CFA
monochromatic
#F4DC27 #F7E662 #FAEF9C #FDF8D6 #FEFAE2

Accessibility & contrast

On white

1.17
#FAEF9C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.89
#FAEF9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF9C
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF9C#FFFFFF#000000##000000
##FAEF9C1.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faef9c;
/* rgb */ color: rgb(250, 239, 156);
/* oklch */ color: oklch(94.2% 0.104 101.7);
Tailwind
colors: {
  custom: {
    50: '#fdf4ba',
    500: '#faef9c',
    950: '#000000',
  },
}
SCSS
$custom: #faef9c;
$custom-light: #fdf4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#faef9c",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 156
  },
  "hsl": {
    "h": 52.979,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.94249,
    "c": 0.104,
    "h": 101.7
  },
  "luminance": 0.84457
}

Semantic roles & 50–950 ramp

primary
#FAEF9C
secondary
#5F6EDB
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FAEF9C

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

Preview Lab → · Contrast checker → · Palette generator →

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