#FAEF8C#FAEF8C

#FAEF8C is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 94.0% C 0.121 H 102.9°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#FAEF8C
RGBrgb(250, 239, 140)
HSLhsl(54, 92%, 76%)
HSVhsv(54, 44%, 98%)
CMYKcmyk(0%, 4.4%, 44%, 2%)
CIE-LABlab(93.43, -9.59, 49.03)
CIE-LCHlch(93.43, 49.96, 101.06°)
OKLaboklab(94% -0.027 0.1181)
OKLCHoklch(94% 0.121 102.9)
XYZxyz(75.0262, 83.9526, 37.0582)
Luminance0.8395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF8C #8C97FA
analogous
#FAB88C #FAEF8C #CEFA8C
triadic
#FAEF8C #8CFAEF #EF8CFA
tetradic
#FAEF8C #8CFAB8 #8C97FA #FA8CCE
square
#FAEF8C #8CFAB8 #8C97FA #FA8CCE
split-complementary
#FAEF8C #8CCEFA #B88CFA
monochromatic
#F5DF17 #F7E751 #FAEF8C #FDF7C7 #FEFBE2

Accessibility & contrast

On white

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

On black

17.79
#FAEF8C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF8C
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF8C#FFFFFF#000000##000000
##FAEF8C1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE984
Deuteranopia (green-blind)
#FFEF90
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #faef8c;
/* rgb */ color: rgb(250, 239, 140);
/* oklch */ color: oklch(94.0% 0.121 102.9);
Tailwind
colors: {
  custom: {
    50: '#fef4af',
    500: '#faef8c',
    950: '#000000',
  },
}
SCSS
$custom: #faef8c;
$custom-light: #fef4af;
$custom-dark: #000000;
JSON
{
  "hex": "#faef8c",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 140
  },
  "hsl": {
    "h": 54,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94003,
    "c": 0.12119,
    "h": 102.9
  },
  "luminance": 0.8395
}

Semantic roles & 50–950 ramp

primary
#FAEF8C
secondary
#515FD9
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAEF8C

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

Preview Lab → · Contrast checker → · Palette generator →

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