#FFE98B#FFE98B

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

Color values

HEX#FFE98B
RGBrgb(255, 233, 139)
HSLhsl(49, 100%, 77%)
HSVhsv(49, 45%, 100%)
CMYKcmyk(0%, 8.6%, 45.5%, 0%)
CIE-LABlab(92.31, -4.74, 48.22)
CIE-LCHlch(92.31, 48.45, 95.61°)
OKLaboklab(93.21% -0.0133 0.1162)
OKLCHoklch(93.21% 0.117 96.6)
XYZxyz(75.0412, 81.4047, 36.1809)
Luminance0.8140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE98B #8BA1FF
analogous
#FFAF8B #FFE98B #DBFF8B
triadic
#FFE98B #8BFFE9 #E98BFF
tetradic
#FFE98B #8BFFAF #8BA1FF #FF8BDB
square
#FFE98B #8BFFAF #8BA1FF #FF8BDB
split-complementary
#FFE98B #8BDBFF #AF8BFF
monochromatic
#FFD211 #FFDD4E #FFE98B #FFF5C8 #FFF9E0

Accessibility & contrast

On white

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

On black

17.28
#FFE98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE98B
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE98B#FFFFFF#000000##000000
##FFE98B1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe98b;
/* rgb */ color: rgb(255, 233, 139);
/* oklch */ color: oklch(93.2% 0.117 96.6);
Tailwind
colors: {
  custom: {
    50: '#ffefae',
    500: '#ffe98b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe98b;
$custom-light: #ffefae;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe98b",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 139
  },
  "hsl": {
    "h": 48.621,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93212,
    "c": 0.11695,
    "h": 96.6
  },
  "luminance": 0.81402
}

Semantic roles & 50–950 ramp

primary
#FFE98B
secondary
#4E6AE0
accent
#2CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFE98B

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

Preview Lab → · Contrast checker → · Palette generator →

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