#FEF289#FEF289

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

Color values

HEX#FEF289
RGBrgb(254, 242, 137)
HSLhsl(54, 98%, 77%)
HSVhsv(54, 46%, 100%)
CMYKcmyk(0%, 4.7%, 46.1%, 0.4%)
CIE-LABlab(94.48, -9.79, 51.83)
CIE-LCHlch(94.48, 52.75, 100.70°)
OKLaboklab(94.9% -0.0281 0.1241)
OKLCHoklch(94.9% 0.127 102.7)
XYZxyz(77.1424, 86.3836, 36.2722)
Luminance0.8638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF289 #8995FE
analogous
#FEB889 #FEF289 #D0FE89
triadic
#FEF289 #89FEF2 #F289FE
tetradic
#FEF289 #89FEB8 #8995FE #FE89D0
square
#FEF289 #89FEB8 #8995FE #FE89D0
split-complementary
#FEF289 #89D0FE #B889FE
monochromatic
#FDE510 #FDEB4C #FEF289 #FFF9C6 #FFFCE1

Accessibility & contrast

On white

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

On black

18.28
#FEF289 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF289
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF289#FFFFFF#000000##000000
##FEF2891.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef289;
/* rgb */ color: rgb(254, 242, 137);
/* oklch */ color: oklch(94.9% 0.127 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff6ad',
    500: '#fef289',
    950: '#000000',
  },
}
SCSS
$custom: #fef289;
$custom-light: #fff6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fef289",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 137
  },
  "hsl": {
    "h": 53.846,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94899,
    "c": 0.12726,
    "h": 102.7
  },
  "luminance": 0.86381
}

Semantic roles & 50–950 ramp

primary
#FEF289
secondary
#4D5CDE
accent
#18E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF289

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

Preview Lab → · Contrast checker → · Palette generator →

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