#FAE798#FAE798

#FAE798 is a very light, moderate yellow. Relative luminance 0.797; OKLCH L 92.6% C 0.101 H 96.3°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#FAE798
RGBrgb(250, 231, 152)
HSLhsl(48, 91%, 79%)
HSVhsv(48, 39%, 98%)
CMYKcmyk(0%, 7.6%, 39.2%, 2%)
CIE-LABlab(91.57, -4.38, 40.79)
CIE-LCHlch(91.57, 41.03, 96.12°)
OKLaboklab(92.58% -0.011 0.1001)
OKLCHoklch(92.58% 0.101 96.3)
XYZxyz(73.6693, 79.7452, 41.2114)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAE798 #98ABFA
analogous
#FAB698 #FAE798 #DCFA98
triadic
#FAE798 #98FAE7 #E798FA
tetradic
#FAE798 #98FAB6 #98ABFA #FA98DC
square
#FAE798 #98FAB6 #98ABFA #FA98DC
split-complementary
#FAE798 #98DCFA #B698FA
monochromatic
#F4CC23 #F7D95E #FAE798 #FDF5D2 #FEF8E2

Accessibility & contrast

On white

1.24
#FAE798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#FAE798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAE798
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAE798#FFFFFF#000000##000000
##FAE7981.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E392
Deuteranopia (green-blind)
#FBEA9B
Tritanopia (blue-blind)
#FFDCD3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fae798;
/* rgb */ color: rgb(250, 231, 152);
/* oklch */ color: oklch(92.6% 0.101 96.3);
Tailwind
colors: {
  custom: {
    50: '#fdeeb7',
    500: '#fae798',
    950: '#000000',
  },
}
SCSS
$custom: #fae798;
$custom-light: #fdeeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fae798",
  "rgb": {
    "r": 250,
    "g": 231,
    "b": 152
  },
  "hsl": {
    "h": 48.367,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.92584,
    "c": 0.10069,
    "h": 96.3
  },
  "luminance": 0.79743
}

Semantic roles & 50–950 ramp

primary
#FAE798
secondary
#5C74DB
accent
#2CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FAE798

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

Preview Lab → · Contrast checker → · Palette generator →

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