#FEF399#FEF399

#FEF399 is a very light, moderate yellow. Relative luminance 0.875; OKLCH L 95.3% C 0.112 H 102.2°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#FEF399
RGBrgb(254, 243, 153)
HSLhsl(53, 98%, 80%)
HSVhsv(53, 40%, 100%)
CMYKcmyk(0%, 4.3%, 39.8%, 0.4%)
CIE-LABlab(94.94, -8.72, 44.69)
CIE-LCHlch(94.94, 45.53, 101.04°)
OKLaboklab(95.33% -0.0236 0.109)
OKLCHoklch(95.33% 0.112 102.2)
XYZxyz(78.6749, 87.4741, 42.8706)
Luminance0.8747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF399 #99A4FE
analogous
#FEC099 #FEF399 #D7FE99
triadic
#FEF399 #99FEF3 #F399FE
tetradic
#FEF399 #99FEC0 #99A4FE #FE99D7
square
#FEF399 #99FEC0 #99A4FE #FE99D7
split-complementary
#FEF399 #99D7FE #C099FE
monochromatic
#FDE520 #FDEC5C #FEF399 #FFFAD6 #FFFBE1

Accessibility & contrast

On white

1.14
#FEF399 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#FEF399 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF399
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF399#FFFFFF#000000##000000
##FEF3991.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED92
Deuteranopia (green-blind)
#FFF39D
Tritanopia (blue-blind)
#FFE8DD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef399;
/* rgb */ color: rgb(254, 243, 153);
/* oklch */ color: oklch(95.3% 0.112 102.2);
Tailwind
colors: {
  custom: {
    50: '#fff6b8',
    500: '#fef399',
    950: '#000000',
  },
}
SCSS
$custom: #fef399;
$custom-light: #fff6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef399",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 153
  },
  "hsl": {
    "h": 53.465,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.95334,
    "c": 0.11154,
    "h": 102.2
  },
  "luminance": 0.87472
}

Semantic roles & 50–950 ramp

primary
#FEF399
secondary
#5B69E0
accent
#19E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF399

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

Preview Lab → · Contrast checker → · Palette generator →

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