#FFE997#FFE997

#FFE997 is a very light, moderate yellow. Relative luminance 0.818; OKLCH L 93.4% C 0.104 H 94.9°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#FFE997
RGBrgb(255, 233, 151)
HSLhsl(47, 100%, 80%)
HSVhsv(47, 41%, 100%)
CMYKcmyk(0%, 8.6%, 40.8%, 0%)
CIE-LABlab(92.48, -3.55, 42.54)
CIE-LCHlch(92.48, 42.69, 94.77°)
OKLaboklab(93.4% -0.0089 0.104)
OKLCHoklch(93.4% 0.104 94.9)
XYZxyz(75.9666, 81.7748, 41.0547)
Luminance0.8177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE997 #97ADFF
analogous
#FFB597 #FFE997 #E1FF97
triadic
#FFE997 #97FFE9 #E997FF
tetradic
#FFE997 #97FFB5 #97ADFF #FF97E1
square
#FFE997 #97FFB5 #97ADFF #FF97E1
split-complementary
#FFE997 #97E1FF #B597FF
monochromatic
#FFCF1D #FFDC5A #FFE997 #FFF6D4 #FFF9E0

Accessibility & contrast

On white

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

On black

17.35
#FFE997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE997
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE997#FFFFFF#000000##000000
##FFE9971.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe997;
/* rgb */ color: rgb(255, 233, 151);
/* oklch */ color: oklch(93.4% 0.104 94.9);
Tailwind
colors: {
  custom: {
    50: '#ffefb6',
    500: '#ffe997',
    950: '#000000',
  },
}
SCSS
$custom: #ffe997;
$custom-light: #ffefb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe997",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 47.308,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.93395,
    "c": 0.10438,
    "h": 94.9
  },
  "luminance": 0.81772
}

Semantic roles & 50–950 ramp

primary
#FFE997
secondary
#5976E2
accent
#31E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFE997

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

Preview Lab → · Contrast checker → · Palette generator →

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