#FEF199#FEF199

#FEF199 is a very light, moderate yellow. Relative luminance 0.863; OKLCH L 94.9% C 0.110 H 100.9°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#FEF199
RGBrgb(254, 241, 153)
HSLhsl(52, 98%, 80%)
HSVhsv(52, 40%, 100%)
CMYKcmyk(0%, 5.1%, 39.8%, 0.4%)
CIE-LABlab(94.43, -7.73, 44.04)
CIE-LCHlch(94.43, 44.71, 99.95°)
OKLaboklab(94.93% -0.0207 0.1075)
OKLCHoklch(94.93% 0.11 100.9)
XYZxyz(78.0796, 86.2836, 42.6722)
Luminance0.8628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF199 #99A6FE
analogous
#FEBE99 #FEF199 #D9FE99
triadic
#FEF199 #99FEF1 #F199FE
tetradic
#FEF199 #99FEBE #99A6FE #FE99D9
square
#FEF199 #99FEBE #99A6FE #FE99D9
split-complementary
#FEF199 #99D9FE #BE99FE
monochromatic
#FDE020 #FDE95C #FEF199 #FFF9D6 #FFFBE1

Accessibility & contrast

On white

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

On black

18.26
#FEF199 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF199
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF199#FFFFFF#000000##000000
##FEF1991.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC92
Deuteranopia (green-blind)
#FFF29C
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef199;
/* rgb */ color: rgb(254, 241, 153);
/* oklch */ color: oklch(94.9% 0.110 100.9);
Tailwind
colors: {
  custom: {
    50: '#fff5b8',
    500: '#fef199',
    950: '#000000',
  },
}
SCSS
$custom: #fef199;
$custom-light: #fff5b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef199",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 153
  },
  "hsl": {
    "h": 52.277,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.94933,
    "c": 0.10951,
    "h": 100.9
  },
  "luminance": 0.86281
}

Semantic roles & 50–950 ramp

primary
#FEF199
secondary
#5B6CE0
accent
#1EE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF199

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

Preview Lab → · Contrast checker → · Palette generator →

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