#FFE98F#FFE98F

#FFE98F is a very light, moderate yellow. Relative luminance 0.815; OKLCH L 93.3% C 0.113 H 96.0°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#FFE98F
RGBrgb(255, 233, 143)
HSLhsl(48, 100%, 78%)
HSVhsv(48, 44%, 100%)
CMYKcmyk(0%, 8.6%, 43.9%, 0%)
CIE-LABlab(92.36, -4.35, 46.33)
CIE-LCHlch(92.36, 46.54, 95.37°)
OKLaboklab(93.27% -0.0119 0.1122)
OKLCHoklch(93.27% 0.113 96)
XYZxyz(75.3388, 81.5237, 37.7484)
Luminance0.8152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE98F #8FA5FF
analogous
#FFB18F #FFE98F #DDFF8F
triadic
#FFE98F #8FFFE9 #E98FFF
tetradic
#FFE98F #8FFFB1 #8FA5FF #FF8FDD
square
#FFE98F #8FFFB1 #8FA5FF #FF8FDD
split-complementary
#FFE98F #8FDDFF #B18FFF
monochromatic
#FFD115 #FFDD52 #FFE98F #FFF5CC #FFF9E0

Accessibility & contrast

On white

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

On black

17.30
#FFE98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE98F
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE98F#FFFFFF#000000##000000
##FFE98F1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe98f;
/* rgb */ color: rgb(255, 233, 143);
/* oklch */ color: oklch(93.3% 0.113 96.0);
Tailwind
colors: {
  custom: {
    50: '#ffefb1',
    500: '#ffe98f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe98f;
$custom-light: #ffefb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe98f",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 143
  },
  "hsl": {
    "h": 48.214,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93271,
    "c": 0.11284,
    "h": 96
  },
  "luminance": 0.81521
}

Semantic roles & 50–950 ramp

primary
#FFE98F
secondary
#526EE0
accent
#2DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFE98F

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

Preview Lab → · Contrast checker → · Palette generator →

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