#FFE98E#FFE98E

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

Color values

HEX#FFE98E
RGBrgb(255, 233, 142)
HSLhsl(48, 100%, 78%)
HSVhsv(48, 44%, 100%)
CMYKcmyk(0%, 8.6%, 44.3%, 0%)
CIE-LABlab(92.35, -4.45, 46.81)
CIE-LCHlch(92.35, 47.02, 95.43°)
OKLaboklab(93.26% -0.0122 0.1132)
OKLCHoklch(93.26% 0.114 96.2)
XYZxyz(75.2634, 81.4935, 37.3512)
Luminance0.8149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE98E #8EA4FF
analogous
#FFB18E #FFE98E #DCFF8E
triadic
#FFE98E #8EFFE9 #E98EFF
tetradic
#FFE98E #8EFFB1 #8EA4FF #FF8EDC
square
#FFE98E #8EFFB1 #8EA4FF #FF8EDC
split-complementary
#FFE98E #8EDCFF #B18EFF
monochromatic
#FFD114 #FFDD51 #FFE98E #FFF5CB #FFF9E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE98E#FFFFFF#000000##000000
##FFE98E1.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)
#FAE587
Deuteranopia (green-blind)
#FFEC91
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffe98e;
/* rgb */ color: rgb(255, 233, 142);
/* oklch */ color: oklch(93.3% 0.114 96.2);
Tailwind
colors: {
  custom: {
    50: '#ffefb0',
    500: '#ffe98e',
    950: '#000000',
  },
}
SCSS
$custom: #ffe98e;
$custom-light: #ffefb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe98e",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 142
  },
  "hsl": {
    "h": 48.319,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93256,
    "c": 0.11387,
    "h": 96.2
  },
  "luminance": 0.81491
}

Semantic roles & 50–950 ramp

primary
#FFE98E
secondary
#516DE0
accent
#2DE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181611
muted
#868581

Preview Lab

Preview with #FFE98E

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

Preview Lab → · Contrast checker → · Palette generator →

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