#FEF09E#FEF09E

#FEF09E is a very light, moderate yellow. Relative luminance 0.859; OKLCH L 94.8% C 0.103 H 99.7°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#FEF09E
RGBrgb(254, 240, 158)
HSLhsl(51, 98%, 81%)
HSVhsv(51, 38%, 100%)
CMYKcmyk(0%, 5.5%, 37.8%, 0.4%)
CIE-LABlab(94.25, -6.70, 41.34)
CIE-LCHlch(94.25, 41.88, 99.20°)
OKLaboklab(94.81% -0.0174 0.1016)
OKLCHoklch(94.81% 0.103 99.7)
XYZxyz(78.2061, 85.8618, 44.7945)
Luminance0.8586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF09E #9EACFE
analogous
#FEC09E #FEF09E #DCFE9E
triadic
#FEF09E #9EFEF0 #F09EFE
tetradic
#FEF09E #9EFEC0 #9EACFE #FE9EDC
square
#FEF09E #9EFEC0 #9EACFE #FE9EDC
split-complementary
#FEF09E #9EDCFE #C09EFE
monochromatic
#FDDD25 #FDE761 #FEF09E #FFF9DB #FFFAE1

Accessibility & contrast

On white

1.16
#FEF09E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#FEF09E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF09E
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF09E#FFFFFF#000000##000000
##FEF09E1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB98
Deuteranopia (green-blind)
#FFF1A1
Tritanopia (blue-blind)
#FFE5DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef09e;
/* rgb */ color: rgb(254, 240, 158);
/* oklch */ color: oklch(94.8% 0.103 99.7);
Tailwind
colors: {
  custom: {
    50: '#fff4bb',
    500: '#fef09e',
    950: '#000000',
  },
}
SCSS
$custom: #fef09e;
$custom-light: #fff4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fef09e",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 158
  },
  "hsl": {
    "h": 51.25,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.94814,
    "c": 0.10305,
    "h": 99.7
  },
  "luminance": 0.8586
}

Semantic roles & 50–950 ramp

primary
#FEF09E
secondary
#5F72E1
accent
#21E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEF09E

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

Preview Lab → · Contrast checker → · Palette generator →

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