#FEF899#FEF899

#FEF899 is a very light, moderate yellow. Relative luminance 0.905; OKLCH L 96.3% C 0.117 H 105.2°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#FEF899
RGBrgb(254, 248, 153)
HSLhsl(56, 98%, 80%)
HSVhsv(56, 40%, 100%)
CMYKcmyk(0%, 2.4%, 39.8%, 0.4%)
CIE-LABlab(96.21, -11.19, 46.30)
CIE-LCHlch(96.21, 47.63, 103.59°)
OKLaboklab(96.34% -0.0307 0.1127)
OKLCHoklch(96.34% 0.117 105.2)
XYZxyz(80.1916, 90.5075, 43.3762)
Luminance0.9051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF899 #999FFE
analogous
#FEC699 #FEF899 #D1FE99
triadic
#FEF899 #99FEF8 #F899FE
tetradic
#FEF899 #99FEC6 #999FFE #FE99D1
square
#FEF899 #99FEC6 #999FFE #FE99D1
split-complementary
#FEF899 #99D1FE #C699FE
monochromatic
#FDF020 #FDF45C #FEF899 #FFFCD6 #FFFDE1

Accessibility & contrast

On white

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

On black

19.10
#FEF899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF899
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF899#FFFFFF#000000##000000
##FEF8991.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF192
Deuteranopia (green-blind)
#FFF69D
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef899;
/* rgb */ color: rgb(254, 248, 153);
/* oklch */ color: oklch(96.3% 0.117 105.2);
Tailwind
colors: {
  custom: {
    50: '#fffab8',
    500: '#fef899',
    950: '#000000',
  },
}
SCSS
$custom: #fef899;
$custom-light: #fffab8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef899",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 153
  },
  "hsl": {
    "h": 56.436,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.96339,
    "c": 0.11678,
    "h": 105.2
  },
  "luminance": 0.90506
}

Semantic roles & 50–950 ramp

primary
#FEF899
secondary
#5B63E0
accent
#0EE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF899

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

Preview Lab → · Contrast checker → · Palette generator →

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