#FAEF9B#FAEF9B

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

Color values

HEX#FAEF9B
RGBrgb(250, 239, 155)
HSLhsl(53, 90%, 79%)
HSVhsv(53, 38%, 98%)
CMYKcmyk(0%, 4.4%, 38%, 2%)
CIE-LABlab(93.64, -8.06, 41.97)
CIE-LCHlch(93.64, 42.73, 100.87°)
OKLaboklab(94.23% -0.0214 0.1029)
OKLCHoklch(94.23% 0.105 101.7)
XYZxyz(76.2085, 84.4256, 43.2853)
Luminance0.8442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF9B #9BA6FA
analogous
#FAC09B #FAEF9B #D5FA9B
triadic
#FAEF9B #9BFAEF #EF9BFA
tetradic
#FAEF9B #9BFAC0 #9BA6FA #FA9BD5
square
#FAEF9B #9BFAC0 #9BA6FA #FA9BD5
split-complementary
#FAEF9B #9BD5FA #C09BFA
monochromatic
#F4DC26 #F7E661 #FAEF9B #FDF8D5 #FEFAE2

Accessibility & contrast

On white

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

On black

17.88
#FAEF9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF9B
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF9B#FFFFFF#000000##000000
##FAEF9B1.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faef9b;
/* rgb */ color: rgb(250, 239, 155);
/* oklch */ color: oklch(94.2% 0.105 101.7);
Tailwind
colors: {
  custom: {
    50: '#fdf4b9',
    500: '#faef9b',
    950: '#000000',
  },
}
SCSS
$custom: #faef9b;
$custom-light: #fdf4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#faef9b",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 155
  },
  "hsl": {
    "h": 53.053,
    "s": 90.476,
    "l": 79.412
  },
  "oklch": {
    "l": 0.94233,
    "c": 0.10511,
    "h": 101.7
  },
  "luminance": 0.84424
}

Semantic roles & 50–950 ramp

primary
#FAEF9B
secondary
#5E6DDB
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAEF9B

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

Preview Lab → · Contrast checker → · Palette generator →

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