#FEF5AE#FEF5AE

#FEF5AE is a very light, moderate yellow. Relative luminance 0.894; OKLCH L 96.1% C 0.090 H 101.8°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#FEF5AE
RGBrgb(254, 245, 174)
HSLhsl(53, 98%, 84%)
HSVhsv(53, 31%, 100%)
CMYKcmyk(0%, 3.5%, 31.5%, 0.4%)
CIE-LABlab(95.76, -7.36, 35.34)
CIE-LCHlch(95.76, 36.10, 101.77°)
OKLaboklab(96.09% -0.0184 0.0881)
OKLCHoklch(96.09% 0.09 101.8)
XYZxyz(81.1662, 89.4334, 53.0229)
Luminance0.8943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF5AE #AEB7FE
analogous
#FECDAE #FEF5AE #DFFEAE
triadic
#FEF5AE #AEFEF5 #F5AEFE
tetradic
#FEF5AE #AEFECD #AEB7FE #FEAEDF
square
#FEF5AE #AEFECD #AEB7FE #FEAEDF
split-complementary
#FEF5AE #AEDFFE #CDAEFE
monochromatic
#FDE635 #FDEE72 #FEF5AE #FFFBE1 #FFFBE1

Accessibility & contrast

On white

1.11
#FEF5AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.89
#FEF5AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF5AE
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF5AE#FFFFFF#000000##000000
##FEF5AE1.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0A9
Deuteranopia (green-blind)
#FFF5B1
Tritanopia (blue-blind)
#FFEBE3
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef5ae;
/* rgb */ color: rgb(254, 245, 174);
/* oklch */ color: oklch(96.1% 0.090 101.8);
Tailwind
colors: {
  custom: {
    50: '#fff8c6',
    500: '#fef5ae',
    950: '#000000',
  },
}
SCSS
$custom: #fef5ae;
$custom-light: #fff8c6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef5ae",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 174
  },
  "hsl": {
    "h": 53.25,
    "s": 97.561,
    "l": 83.922
  },
  "oklch": {
    "l": 0.96089,
    "c": 0.09001,
    "h": 101.8
  },
  "luminance": 0.89432
}

Semantic roles & 50–950 ramp

primary
#FEF5AE
secondary
#6D7AE3
accent
#1AE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FEF5AE

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

Preview Lab → · Contrast checker → · Palette generator →

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