#FFE898#FFE898

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

Color values

HEX#FFE898
RGBrgb(255, 232, 152)
HSLhsl(47, 100%, 80%)
HSVhsv(47, 40%, 100%)
CMYKcmyk(0%, 9%, 40.4%, 0%)
CIE-LABlab(92.24, -2.94, 41.74)
CIE-LCHlch(92.24, 41.84, 94.04°)
OKLaboklab(93.21% -0.007 0.1022)
OKLCHoklch(93.21% 0.102 93.9)
XYZxyz(75.7659, 81.2429, 41.3901)
Luminance0.8124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE898 #98AFFF
analogous
#FFB598 #FFE898 #E3FF98
triadic
#FFE898 #98FFE8 #E898FF
tetradic
#FFE898 #98FFB5 #98AFFF #FF98E3
square
#FFE898 #98FFB5 #98AFFF #FF98E3
split-complementary
#FFE898 #98E3FF #B598FF
monochromatic
#FFCD1E #FFDA5B #FFE898 #FFF6D5 #FFF8E0

Accessibility & contrast

On white

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

On black

17.25
#FFE898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE898
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE898#FFFFFF#000000##000000
##FFE8981.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe898;
/* rgb */ color: rgb(255, 232, 152);
/* oklch */ color: oklch(93.2% 0.102 93.9);
Tailwind
colors: {
  custom: {
    50: '#ffefb7',
    500: '#ffe898',
    950: '#000000',
  },
}
SCSS
$custom: #ffe898;
$custom-light: #ffefb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe898",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 152
  },
  "hsl": {
    "h": 46.602,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.93213,
    "c": 0.10246,
    "h": 93.9
  },
  "luminance": 0.8124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFE898

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

Preview Lab → · Contrast checker → · Palette generator →

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