#FFE897#FFE897

#FFE897 is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 93.2% C 0.104 H 94.1°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#FFE897
RGBrgb(255, 232, 151)
HSLhsl(47, 100%, 80%)
HSVhsv(47, 41%, 100%)
CMYKcmyk(0%, 9%, 40.8%, 0%)
CIE-LABlab(92.23, -3.05, 42.22)
CIE-LCHlch(92.23, 42.33, 94.13°)
OKLaboklab(93.2% -0.0074 0.1033)
OKLCHoklch(93.2% 0.104 94.1)
XYZxyz(75.6843, 81.2103, 40.9606)
Luminance0.8121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE897 #97AEFF
analogous
#FFB497 #FFE897 #E2FF97
triadic
#FFE897 #97FFE8 #E897FF
tetradic
#FFE897 #97FFB4 #97AEFF #FF97E2
square
#FFE897 #97FFB4 #97AEFF #FF97E2
split-complementary
#FFE897 #97E2FF #B497FF
monochromatic
#FFCD1D #FFDA5A #FFE897 #FFF6D4 #FFF8E0

Accessibility & contrast

On white

1.22
#FFE897 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#FFE897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE897
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE897#FFFFFF#000000##000000
##FFE8971.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe897;
/* rgb */ color: rgb(255, 232, 151);
/* oklch */ color: oklch(93.2% 0.104 94.1);
Tailwind
colors: {
  custom: {
    50: '#ffefb6',
    500: '#ffe897',
    950: '#000000',
  },
}
SCSS
$custom: #ffe897;
$custom-light: #ffefb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe897",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 151
  },
  "hsl": {
    "h": 46.731,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.93197,
    "c": 0.10354,
    "h": 94.1
  },
  "luminance": 0.81208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFE897

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

Preview Lab → · Contrast checker → · Palette generator →

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