#FFE98A#FFE98A

#FFE98A is a very light, moderate yellow. Relative luminance 0.814; OKLCH L 93.2% C 0.118 H 96.7°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#FFE98A
RGBrgb(255, 233, 138)
HSLhsl(49, 100%, 77%)
HSVhsv(49, 46%, 100%)
CMYKcmyk(0%, 8.6%, 45.9%, 0%)
CIE-LABlab(92.30, -4.83, 48.68)
CIE-LCHlch(92.30, 48.92, 95.67°)
OKLaboklab(93.2% -0.0137 0.1172)
OKLCHoklch(93.2% 0.118 96.7)
XYZxyz(74.9685, 81.3756, 35.7979)
Luminance0.8137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE98A #8AA0FF
analogous
#FFAF8A #FFE98A #DBFF8A
triadic
#FFE98A #8AFFE9 #E98AFF
tetradic
#FFE98A #8AFFAF #8AA0FF #FF8ADB
square
#FFE98A #8AFFAF #8AA0FF #FF8ADB
split-complementary
#FFE98A #8ADBFF #AF8AFF
monochromatic
#FFD210 #FFDD4D #FFE98A #FFF5C7 #FFF9E0

Accessibility & contrast

On white

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

On black

17.27
#FFE98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE98A
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE98A#FFFFFF#000000##000000
##FFE98A1.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE582
Deuteranopia (green-blind)
#FFEC8E
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffe98a;
/* rgb */ color: rgb(255, 233, 138);
/* oklch */ color: oklch(93.2% 0.118 96.7);
Tailwind
colors: {
  custom: {
    50: '#ffefae',
    500: '#ffe98a',
    950: '#000000',
  },
}
SCSS
$custom: #ffe98a;
$custom-light: #ffefae;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe98a",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 138
  },
  "hsl": {
    "h": 48.718,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93197,
    "c": 0.11798,
    "h": 96.7
  },
  "luminance": 0.81373
}

Semantic roles & 50–950 ramp

primary
#FFE98A
secondary
#4E69E0
accent
#2BE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFE98A

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

Preview Lab → · Contrast checker → · Palette generator →

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