#FAEC97#FAEC97

#FAEC97 is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.6% C 0.106 H 100.1°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#FAEC97
RGBrgb(250, 236, 151)
HSLhsl(52, 91%, 79%)
HSVhsv(52, 40%, 98%)
CMYKcmyk(0%, 5.6%, 39.6%, 2%)
CIE-LABlab(92.82, -6.99, 42.89)
CIE-LCHlch(92.82, 43.46, 99.25°)
OKLaboklab(93.57% -0.0186 0.1049)
OKLCHoklch(93.57% 0.106 100.1)
XYZxyz(75.0072, 82.5515, 41.2550)
Luminance0.8255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC97 #97A5FA
analogous
#FABA97 #FAEC97 #D6FA97
triadic
#FAEC97 #97FAEC #EC97FA
tetradic
#FAEC97 #97FABA #97A5FA #FA97D6
square
#FAEC97 #97FABA #97A5FA #FA97D6
split-complementary
#FAEC97 #97D6FA #BA97FA
monochromatic
#F4D722 #F7E15D #FAEC97 #FDF7D1 #FEFAE2

Accessibility & contrast

On white

1.20
#FAEC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#FAEC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEC97
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEC97#FFFFFF#000000##000000
##FAEC971.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE791
Deuteranopia (green-blind)
#FFED9A
Tritanopia (blue-blind)
#FFE1D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #faec97;
/* rgb */ color: rgb(250, 236, 151);
/* oklch */ color: oklch(93.6% 0.106 100.1);
Tailwind
colors: {
  custom: {
    50: '#fdf2b6',
    500: '#faec97',
    950: '#000000',
  },
}
SCSS
$custom: #faec97;
$custom-light: #fdf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#faec97",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 51.515,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93566,
    "c": 0.10649,
    "h": 100.1
  },
  "luminance": 0.82549
}

Semantic roles & 50–950 ramp

primary
#FAEC97
secondary
#5B6DDA
accent
#20E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FAEC97

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

Preview Lab → · Contrast checker → · Palette generator →

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