#FAEF8A#FAEF8A

#FAEF8A is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 94.0% C 0.123 H 103.0°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#FAEF8A
RGBrgb(250, 239, 138)
HSLhsl(54, 92%, 76%)
HSVhsv(54, 45%, 98%)
CMYKcmyk(0%, 4.4%, 44.8%, 2%)
CIE-LABlab(93.40, -9.78, 49.96)
CIE-LCHlch(93.40, 50.91, 101.08°)
OKLaboklab(93.98% -0.0277 0.1201)
OKLCHoklch(93.98% 0.123 103)
XYZxyz(74.8800, 83.8942, 36.2886)
Luminance0.8389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF8A #8A95FA
analogous
#FAB78A #FAEF8A #CDFA8A
triadic
#FAEF8A #8AFAEF #EF8AFA
tetradic
#FAEF8A #8AFAB7 #8A95FA #FA8ACD
square
#FAEF8A #8AFAB7 #8A95FA #FA8ACD
split-complementary
#FAEF8A #8ACDFA #B78AFA
monochromatic
#F5DF15 #F7E74F #FAEF8A #FDF7C5 #FEFBE2

Accessibility & contrast

On white

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

On black

17.78
#FAEF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF8A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF8A#FFFFFF#000000##000000
##FAEF8A1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faef8a;
/* rgb */ color: rgb(250, 239, 138);
/* oklch */ color: oklch(94.0% 0.123 103.0);
Tailwind
colors: {
  custom: {
    50: '#fef4ae',
    500: '#faef8a',
    950: '#000000',
  },
}
SCSS
$custom: #faef8a;
$custom-light: #fef4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#faef8a",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 54.107,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.93975,
    "c": 0.12325,
    "h": 103
  },
  "luminance": 0.83892
}

Semantic roles & 50–950 ramp

primary
#FAEF8A
secondary
#4F5DD9
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAEF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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