#FEF983#FEF983

#FEF983 is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.140 H 106.6°. Best body text is #000000 at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#FEF983
RGBrgb(254, 249, 131)
HSLhsl(58, 98%, 75%)
HSVhsv(58, 48%, 100%)
CMYKcmyk(0%, 2%, 48.4%, 0.4%)
CIE-LABlab(96.19, -13.76, 56.72)
CIE-LCHlch(96.19, 58.36, 103.64°)
OKLaboklab(96.24% -0.04 0.1344)
OKLCHoklch(96.24% 0.14 106.6)
XYZxyz(78.8474, 90.4630, 34.7760)
Luminance0.9046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF983 #8388FE
analogous
#FEBB83 #FEF983 #C5FE83
triadic
#FEF983 #83FEF9 #F983FE
tetradic
#FEF983 #83FEBB #8388FE #FE83C5
square
#FEF983 #83FEBB #8388FE #FE83C5
split-complementary
#FEF983 #83C5FE #BB83FE
monochromatic
#FDF30A #FEF646 #FEF983 #FEFCC0 #FFFEE1

Accessibility & contrast

On white

1.10
#FEF983 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.09
#FEF983 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF983
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF983#FFFFFF#000000##000000
##FEF9831.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF178
Deuteranopia (green-blind)
#FFF689
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef983;
/* rgb */ color: rgb(254, 249, 131);
/* oklch */ color: oklch(96.2% 0.140 106.6);
Tailwind
colors: {
  custom: {
    50: '#fffba9',
    500: '#fef983',
    950: '#000000',
  },
}
SCSS
$custom: #fef983;
$custom-light: #fffba9;
$custom-dark: #000000;
JSON
{
  "hex": "#fef983",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 131
  },
  "hsl": {
    "h": 57.561,
    "s": 98.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.96236,
    "c": 0.14029,
    "h": 106.6
  },
  "luminance": 0.90461
}

Semantic roles & 50–950 ramp

primary
#FEF983
secondary
#484EDD
accent
#09E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF983

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

Preview Lab → · Contrast checker → · Palette generator →

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