#FEF96D#FEF96D

#FEF96D is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.0% C 0.160 H 107.2°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FEF96D
RGBrgb(254, 249, 109)
HSLhsl(58, 99%, 71%)
HSVhsv(58, 57%, 100%)
CMYKcmyk(0%, 2%, 57.1%, 0.4%)
CIE-LABlab(95.97, -15.48, 66.26)
CIE-LCHlch(95.97, 68.04, 103.15°)
OKLaboklab(95.99% -0.0472 0.1528)
OKLCHoklch(95.99% 0.16 107.2)
XYZxyz(77.5114, 89.9286, 27.7400)
Luminance0.8993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF96D #6D72FE
analogous
#FEB06D #FEF96D #BAFE6D
triadic
#FEF96D #6DFEF9 #F96DFE
tetradic
#FEF96D #6DFEB0 #6D72FE #FE6DBA
square
#FEF96D #6DFEB0 #6D72FE #FE6DBA
split-complementary
#FEF96D #6DBAFE #B06DFE
monochromatic
#EFE702 #FEF730 #FEF96D #FEFBAA #FFFEE1

Accessibility & contrast

On white

1.11
#FEF96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.99
#FEF96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF96D
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF96D#FFFFFF#000000##000000
##FEF96D1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05E
Deuteranopia (green-blind)
#FFF675
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef96d;
/* rgb */ color: rgb(254, 249, 109);
/* oklch */ color: oklch(96.0% 0.160 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffb9b',
    500: '#fef96d',
    950: '#000000',
  },
}
SCSS
$custom: #fef96d;
$custom-light: #fffb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fef96d",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 109
  },
  "hsl": {
    "h": 57.931,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95988,
    "c": 0.15995,
    "h": 107.2
  },
  "luminance": 0.89926
}

Semantic roles & 50–950 ramp

primary
#FEF96D
secondary
#353BDA
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF96D

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

Preview Lab → · Contrast checker → · Palette generator →

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