#FEF288#FEF288

#FEF288 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.9% C 0.128 H 102.8°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#FEF288
RGBrgb(254, 242, 136)
HSLhsl(54, 98%, 76%)
HSVhsv(54, 46%, 100%)
CMYKcmyk(0%, 4.7%, 46.5%, 0.4%)
CIE-LABlab(94.46, -9.89, 52.29)
CIE-LCHlch(94.46, 53.22, 100.71°)
OKLaboklab(94.89% -0.0284 0.1251)
OKLCHoklch(94.89% 0.128 102.8)
XYZxyz(77.0710, 86.3550, 35.8961)
Luminance0.8635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF288 #8894FE
analogous
#FEB788 #FEF288 #CFFE88
triadic
#FEF288 #88FEF2 #F288FE
tetradic
#FEF288 #88FEB7 #8894FE #FE88CF
square
#FEF288 #88FEB7 #8894FE #FE88CF
split-complementary
#FEF288 #88CFFE #B788FE
monochromatic
#FDE50F #FDEB4B #FEF288 #FFF9C5 #FFFCE1

Accessibility & contrast

On white

1.15
#FEF288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#FEF288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF288
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF288#FFFFFF#000000##000000
##FEF2881.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7F
Deuteranopia (green-blind)
#FFF28D
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef288;
/* rgb */ color: rgb(254, 242, 136);
/* oklch */ color: oklch(94.9% 0.128 102.8);
Tailwind
colors: {
  custom: {
    50: '#fff6ad',
    500: '#fef288',
    950: '#000000',
  },
}
SCSS
$custom: #fef288;
$custom-light: #fff6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fef288",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 53.898,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94885,
    "c": 0.12827,
    "h": 102.8
  },
  "luminance": 0.86353
}

Semantic roles & 50–950 ramp

primary
#FEF288
secondary
#4C5BDE
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF288

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

Preview Lab → · Contrast checker → · Palette generator →

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