#FEF4AE#FEF4AE

#FEF4AE is a very light, moderate yellow. Relative luminance 0.888; OKLCH L 95.9% C 0.089 H 101.0°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FEF4AE
RGBrgb(254, 244, 174)
HSLhsl(53, 98%, 84%)
HSVhsv(53, 31%, 100%)
CMYKcmyk(0%, 3.9%, 31.5%, 0.4%)
CIE-LABlab(95.51, -6.86, 35.01)
CIE-LCHlch(95.51, 35.67, 101.09°)
OKLaboklab(95.89% -0.017 0.0873)
OKLCHoklch(95.89% 0.089 101)
XYZxyz(80.8645, 88.8300, 52.9223)
Luminance0.8883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF4AE #AEB8FE
analogous
#FECCAE #FEF4AE #E0FEAE
triadic
#FEF4AE #AEFEF4 #F4AEFE
tetradic
#FEF4AE #AEFECC #AEB8FE #FEAEE0
square
#FEF4AE #AEFECC #AEB8FE #FEAEE0
split-complementary
#FEF4AE #AEE0FE #CCAEFE
monochromatic
#FDE435 #FDEC72 #FEF4AE #FFFBE1 #FFFBE1

Accessibility & contrast

On white

1.12
#FEF4AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.77
#FEF4AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF4AE
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF4AE#FFFFFF#000000##000000
##FEF4AE1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEFA9
Deuteranopia (green-blind)
#FFF4B1
Tritanopia (blue-blind)
#FFEBE2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef4ae;
/* rgb */ color: rgb(254, 244, 174);
/* oklch */ color: oklch(95.9% 0.089 101.0);
Tailwind
colors: {
  custom: {
    50: '#fff7c6',
    500: '#fef4ae',
    950: '#000000',
  },
}
SCSS
$custom: #fef4ae;
$custom-light: #fff7c6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef4ae",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 174
  },
  "hsl": {
    "h": 52.5,
    "s": 97.561,
    "l": 83.922
  },
  "oklch": {
    "l": 0.95889,
    "c": 0.08895,
    "h": 101
  },
  "luminance": 0.88828
}

Semantic roles & 50–950 ramp

primary
#FEF4AE
secondary
#6D7CE3
accent
#1DE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FEF4AE

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

Preview Lab → · Contrast checker → · Palette generator →

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