#FEF99F#FEF99F

#FEF99F is a very light, moderate yellow. Relative luminance 0.913; OKLCH L 96.6% C 0.111 H 105.6°. Best body text is #000000 at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#FEF99F
RGBrgb(254, 249, 159)
HSLhsl(57, 98%, 81%)
HSVhsv(57, 37%, 100%)
CMYKcmyk(0%, 2%, 37.4%, 0.4%)
CIE-LABlab(96.54, -11.05, 43.80)
CIE-LCHlch(96.54, 45.17, 104.15°)
OKLaboklab(96.64% -0.0299 0.1073)
OKLCHoklch(96.64% 0.111 105.6)
XYZxyz(81.0079, 91.3272, 46.1548)
Luminance0.9133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF99F #9FA4FE
analogous
#FEC99F #FEF99F #D3FE9F
triadic
#FEF99F #9FFEF9 #F99FFE
tetradic
#FEF99F #9FFEC9 #9FA4FE #FE9FD3
square
#FEF99F #9FFEC9 #9FA4FE #FE9FD3
split-complementary
#FEF99F #9FD3FE #C99FFE
monochromatic
#FDF126 #FDF562 #FEF99F #FFFDDC #FFFDE1

Accessibility & contrast

On white

1.09
#FEF99F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.27
#FEF99F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF99F
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF99F#FFFFFF#000000##000000
##FEF99F1.001.0919.2719.27
#FFFFFF1.091.0021.0021.00
#00000019.2721.001.001.00
##00000019.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF398
Deuteranopia (green-blind)
#FFF7A3
Tritanopia (blue-blind)
#FFEEE3
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fef99f;
/* rgb */ color: rgb(254, 249, 159);
/* oklch */ color: oklch(96.6% 0.111 105.6);
Tailwind
colors: {
  custom: {
    50: '#fffbbc',
    500: '#fef99f',
    950: '#000000',
  },
}
SCSS
$custom: #fef99f;
$custom-light: #fffbbc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef99f",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 159
  },
  "hsl": {
    "h": 56.842,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.96635,
    "c": 0.11134,
    "h": 105.6
  },
  "luminance": 0.91325
}

Semantic roles & 50–950 ramp

primary
#FEF99F
secondary
#6067E1
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEF99F

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

Preview Lab → · Contrast checker → · Palette generator →

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