#FEE997#FEE997

#FEE997 is a very light, moderate yellow. Relative luminance 0.816; OKLCH L 93.3% C 0.104 H 95.5°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#FEE997
RGBrgb(254, 233, 151)
HSLhsl(48, 98%, 79%)
HSVhsv(48, 41%, 100%)
CMYKcmyk(0%, 8.3%, 40.6%, 0.4%)
CIE-LABlab(92.39, -3.94, 42.41)
CIE-LCHlch(92.39, 42.60, 95.31°)
OKLaboklab(93.31% -0.01 0.1037)
OKLCHoklch(93.31% 0.104 95.5)
XYZxyz(75.5996, 81.5856, 41.0375)
Luminance0.8158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEE997 #97ACFE
analogous
#FEB697 #FEE997 #E0FE97
triadic
#FEE997 #97FEE9 #E997FE
tetradic
#FEE997 #97FEB6 #97ACFE #FE97E0
square
#FEE997 #97FEB6 #97ACFE #FE97E0
split-complementary
#FEE997 #97E0FE #B697FE
monochromatic
#FDCF1E #FDDC5A #FEE997 #FFF6D4 #FFF9E1

Accessibility & contrast

On white

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

On black

17.32
#FEE997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEE997
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEE997#FFFFFF#000000##000000
##FEE9971.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E591
Deuteranopia (green-blind)
#FEEC9A
Tritanopia (blue-blind)
#FFDDD5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fee997;
/* rgb */ color: rgb(254, 233, 151);
/* oklch */ color: oklch(93.3% 0.104 95.5);
Tailwind
colors: {
  custom: {
    50: '#ffefb6',
    500: '#fee997',
    950: '#000000',
  },
}
SCSS
$custom: #fee997;
$custom-light: #ffefb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fee997",
  "rgb": {
    "r": 254,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 47.767,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93308,
    "c": 0.1042,
    "h": 95.5
  },
  "luminance": 0.81583
}

Semantic roles & 50–950 ramp

primary
#FEE997
secondary
#5975E0
accent
#2FE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FEE997

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

Preview Lab → · Contrast checker → · Palette generator →

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