#FEF1AA#FEF1AA

#FEF1AA is a very light, moderate yellow. Relative luminance 0.869; OKLCH L 95.2% C 0.090 H 99.0°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#FEF1AA
RGBrgb(254, 241, 170)
HSLhsl(51, 98%, 83%)
HSVhsv(51, 33%, 100%)
CMYKcmyk(0%, 5.1%, 33.1%, 0.4%)
CIE-LABlab(94.69, -5.84, 35.93)
CIE-LCHlch(94.69, 36.40, 99.24°)
OKLaboklab(95.22% -0.0142 0.0894)
OKLCHoklch(95.22% 0.091 99)
XYZxyz(79.5850, 86.8857, 50.6007)
Luminance0.8688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF1AA #AAB7FE
analogous
#FEC7AA #FEF1AA #E1FEAA
triadic
#FEF1AA #AAFEF1 #F1AAFE
tetradic
#FEF1AA #AAFEC7 #AAB7FE #FEAAE1
square
#FEF1AA #AAFEC7 #AAB7FE #FEAAE1
split-complementary
#FEF1AA #AAE1FE #C7AAFE
monochromatic
#FDDD31 #FDE76E #FEF1AA #FFFAE1 #FFFAE1

Accessibility & contrast

On white

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

On black

18.38
#FEF1AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF1AA
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF1AA#FFFFFF#000000##000000
##FEF1AA1.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEDA5
Deuteranopia (green-blind)
#FFF2AD
Tritanopia (blue-blind)
#FFE7DF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef1aa;
/* rgb */ color: rgb(254, 241, 170);
/* oklch */ color: oklch(95.2% 0.090 99.0);
Tailwind
colors: {
  custom: {
    50: '#fff5c4',
    500: '#fef1aa',
    950: '#000000',
  },
}
SCSS
$custom: #fef1aa;
$custom-light: #fff5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef1aa",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 170
  },
  "hsl": {
    "h": 50.714,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.9522,
    "c": 0.0905,
    "h": 99
  },
  "luminance": 0.86884
}

Semantic roles & 50–950 ramp

primary
#FEF1AA
secondary
#697CE3
accent
#24E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEF1AA

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

Preview Lab → · Contrast checker → · Palette generator →

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