#FAEC78#FAEC78

#FAEC78 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.1% C 0.138 H 102.5°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#FAEC78
RGBrgb(250, 236, 120)
HSLhsl(54, 93%, 73%)
HSVhsv(54, 52%, 98%)
CMYKcmyk(0%, 5.6%, 52%, 2%)
CIE-LABlab(92.43, -9.87, 57.25)
CIE-LCHlch(92.43, 58.10, 99.78°)
OKLaboklab(93.13% -0.0298 0.1347)
OKLCHoklch(93.13% 0.138 102.5)
XYZxyz(72.8122, 81.6735, 29.6948)
Luminance0.8167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC78 #7886FA
analogous
#FAAB78 #FAEC78 #C7FA78
triadic
#FAEC78 #78FAEC #EC78FA
tetradic
#FAEC78 #78FAAB #7886FA #FA78C7
square
#FAEC78 #78FAAB #7886FA #FA78C7
split-complementary
#FAEC78 #78C7FA #AB78FA
monochromatic
#EFD609 #F8E43D #FAEC78 #FCF4B3 #FEFBE1

Accessibility & contrast

On white

1.21
#FAEC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#FAEC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEC78
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEC78#FFFFFF#000000##000000
##FAEC781.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66D
Deuteranopia (green-blind)
#FFEC7D
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #faec78;
/* rgb */ color: rgb(250, 236, 120);
/* oklch */ color: oklch(93.1% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#fef1a2',
    500: '#faec78',
    950: '#000000',
  },
}
SCSS
$custom: #faec78;
$custom-light: #fef1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#faec78",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 120
  },
  "hsl": {
    "h": 53.538,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93134,
    "c": 0.13795,
    "h": 102.5
  },
  "luminance": 0.81671
}

Semantic roles & 50–950 ramp

primary
#FAEC78
secondary
#4050D6
accent
#19E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FAEC78

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

Preview Lab → · Contrast checker → · Palette generator →

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