#FAEC98#FAEC98

#FAEC98 is a very light, moderate yellow. Relative luminance 0.826; OKLCH L 93.6% C 0.105 H 100.0°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#FAEC98
RGBrgb(250, 236, 152)
HSLhsl(51, 91%, 79%)
HSVhsv(51, 39%, 98%)
CMYKcmyk(0%, 5.6%, 39.2%, 2%)
CIE-LABlab(92.83, -6.88, 42.42)
CIE-LCHlch(92.83, 42.97, 99.22°)
OKLaboklab(93.58% -0.0182 0.1038)
OKLCHoklch(93.58% 0.105 100)
XYZxyz(75.0887, 82.5841, 41.6846)
Luminance0.8258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAEC98 #98A6FA
analogous
#FABB98 #FAEC98 #D7FA98
triadic
#FAEC98 #98FAEC #EC98FA
tetradic
#FAEC98 #98FABB #98A6FA #FA98D7
square
#FAEC98 #98FABB #98A6FA #FA98D7
split-complementary
#FAEC98 #98D7FA #BB98FA
monochromatic
#F4D623 #F7E15E #FAEC98 #FDF7D2 #FEFAE2

Accessibility & contrast

On white

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

On black

17.52
#FAEC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAEC98
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAEC98#FFFFFF#000000##000000
##FAEC981.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faec98;
/* rgb */ color: rgb(250, 236, 152);
/* oklch */ color: oklch(93.6% 0.105 100.0);
Tailwind
colors: {
  custom: {
    50: '#fdf2b7',
    500: '#faec98',
    950: '#000000',
  },
}
SCSS
$custom: #faec98;
$custom-light: #fdf2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#faec98",
  "rgb": {
    "r": 250,
    "g": 236,
    "b": 152
  },
  "hsl": {
    "h": 51.429,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93582,
    "c": 0.1054,
    "h": 100
  },
  "luminance": 0.82582
}

Semantic roles & 50–950 ramp

primary
#FAEC98
secondary
#5C6EDB
accent
#21E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FAEC98

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

Preview Lab → · Contrast checker → · Palette generator →

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