#FEE797#FEE797

#FEE797 is a very light, moderate yellow. Relative luminance 0.805; OKLCH L 92.9% C 0.102 H 93.9°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#FEE797
RGBrgb(254, 231, 151)
HSLhsl(47, 98%, 79%)
HSVhsv(47, 41%, 100%)
CMYKcmyk(0%, 9.1%, 40.6%, 0.4%)
CIE-LABlab(91.89, -2.93, 41.77)
CIE-LCHlch(91.89, 41.87, 94.02°)
OKLaboklab(92.91% -0.007 0.1022)
OKLCHoklch(92.91% 0.102 93.9)
XYZxyz(75.0366, 80.4597, 40.8498)
Luminance0.8046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEE797 #97AEFE
analogous
#FEB497 #FEE797 #E2FE97
triadic
#FEE797 #97FEE7 #E797FE
tetradic
#FEE797 #97FEB4 #97AEFE #FE97E2
square
#FEE797 #97FEB4 #97AEFE #FE97E2
split-complementary
#FEE797 #97E2FE #B497FE
monochromatic
#FDCB1E #FDD95A #FEE797 #FFF5D4 #FFF8E1

Accessibility & contrast

On white

1.23
#FEE797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.09
#FEE797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEE797
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEE797#FFFFFF#000000##000000
##FEE7971.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E491
Deuteranopia (green-blind)
#FDEB9A
Tritanopia (blue-blind)
#FFDBD3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fee797;
/* rgb */ color: rgb(254, 231, 151);
/* oklch */ color: oklch(92.9% 0.102 93.9);
Tailwind
colors: {
  custom: {
    50: '#ffeeb6',
    500: '#fee797',
    950: '#000000',
  },
}
SCSS
$custom: #fee797;
$custom-light: #ffeeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fee797",
  "rgb": {
    "r": 254,
    "g": 231,
    "b": 151
  },
  "hsl": {
    "h": 46.602,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.92913,
    "c": 0.10249,
    "h": 93.9
  },
  "luminance": 0.80457
}

Semantic roles & 50–950 ramp

primary
#FEE797
secondary
#5977E0
accent
#33E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FEE797

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

Preview Lab → · Contrast checker → · Palette generator →

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