#FFE98D#FFE98D

#FFE98D is a very light, moderate yellow. Relative luminance 0.815; OKLCH L 93.2% C 0.115 H 96.3°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#FFE98D
RGBrgb(255, 233, 141)
HSLhsl(48, 100%, 78%)
HSVhsv(48, 45%, 100%)
CMYKcmyk(0%, 8.6%, 44.7%, 0%)
CIE-LABlab(92.34, -4.55, 47.28)
CIE-LCHlch(92.34, 47.50, 95.49°)
OKLaboklab(93.24% -0.0126 0.1142)
OKLCHoklch(93.24% 0.115 96.3)
XYZxyz(75.1887, 81.4636, 36.9576)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE98D #8DA3FF
analogous
#FFB08D #FFE98D #DCFF8D
triadic
#FFE98D #8DFFE9 #E98DFF
tetradic
#FFE98D #8DFFB0 #8DA3FF #FF8DDC
square
#FFE98D #8DFFB0 #8DA3FF #FF8DDC
split-complementary
#FFE98D #8DDCFF #B08DFF
monochromatic
#FFD113 #FFDD50 #FFE98D #FFF5CA #FFF9E0

Accessibility & contrast

On white

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

On black

17.29
#FFE98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE98D
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE98D#FFFFFF#000000##000000
##FFE98D1.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE586
Deuteranopia (green-blind)
#FFEC91
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffe98d;
/* rgb */ color: rgb(255, 233, 141);
/* oklch */ color: oklch(93.2% 0.115 96.3);
Tailwind
colors: {
  custom: {
    50: '#ffefb0',
    500: '#ffe98d',
    950: '#000000',
  },
}
SCSS
$custom: #ffe98d;
$custom-light: #ffefb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe98d",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 141
  },
  "hsl": {
    "h": 48.421,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.93241,
    "c": 0.1149,
    "h": 96.3
  },
  "luminance": 0.81461
}

Semantic roles & 50–950 ramp

primary
#FFE98D
secondary
#506CE0
accent
#2CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFE98D

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

Preview Lab → · Contrast checker → · Palette generator →

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