#FAEF78#FAEF78

#FAEF78 is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.7% C 0.141 H 104.0°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#FAEF78
RGBrgb(250, 239, 120)
HSLhsl(55, 93%, 73%)
HSVhsv(55, 52%, 98%)
CMYKcmyk(0%, 4.4%, 52%, 2%)
CIE-LABlab(93.20, -11.35, 58.15)
CIE-LCHlch(93.20, 59.25, 101.05°)
OKLaboklab(93.74% -0.034 0.1367)
OKLCHoklch(93.74% 0.141 104)
XYZxyz(73.6832, 83.4154, 29.9851)
Luminance0.8341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEF78 #7883FA
analogous
#FAAE78 #FAEF78 #C4FA78
triadic
#FAEF78 #78FAEF #EF78FA
tetradic
#FAEF78 #78FAAE #7883FA #FA78C4
square
#FAEF78 #78FAAE #7883FA #FA78C4
split-complementary
#FAEF78 #78C4FA #AE78FA
monochromatic
#EFDB09 #F8E83D #FAEF78 #FCF6B3 #FEFCE1

Accessibility & contrast

On white

1.19
#FAEF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.68
#FAEF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEF78
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEF78#FFFFFF#000000##000000
##FAEF781.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FFEE7E
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #faef78;
/* rgb */ color: rgb(250, 239, 120);
/* oklch */ color: oklch(93.7% 0.141 104.0);
Tailwind
colors: {
  custom: {
    50: '#fef4a2',
    500: '#faef78',
    950: '#000000',
  },
}
SCSS
$custom: #faef78;
$custom-light: #fef4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#faef78",
  "rgb": {
    "r": 250,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 54.923,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93742,
    "c": 0.14082,
    "h": 104
  },
  "luminance": 0.83413
}

Semantic roles & 50–950 ramp

primary
#FAEF78
secondary
#404DD6
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAEF78

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

Preview Lab → · Contrast checker → · Palette generator →

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