#FEF7AE#FEF7AE

#FEF7AE is a very light, moderate yellow. Relative luminance 0.906; OKLCH L 96.5% C 0.092 H 103.3°. Best body text is #000000 at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#FEF7AE
RGBrgb(254, 247, 174)
HSLhsl(55, 98%, 84%)
HSVhsv(55, 31%, 100%)
CMYKcmyk(0%, 2.8%, 31.5%, 0.4%)
CIE-LABlab(96.27, -8.35, 36.01)
CIE-LCHlch(96.27, 36.97, 103.06°)
OKLaboklab(96.49% -0.0213 0.0897)
OKLCHoklch(96.49% 0.092 103.3)
XYZxyz(81.7745, 90.6501, 53.2257)
Luminance0.9065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF7AE #AEB5FE
analogous
#FECFAE #FEF7AE #DDFEAE
triadic
#FEF7AE #AEFEF7 #F7AEFE
tetradic
#FEF7AE #AEFECF #AEB5FE #FEAEDD
square
#FEF7AE #AEFECF #AEB5FE #FEAEDD
split-complementary
#FEF7AE #AEDDFE #CFAEFE
monochromatic
#FDEB35 #FDF172 #FEF7AE #FFFCE1 #FFFCE1

Accessibility & contrast

On white

1.10
#FEF7AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.13
#FEF7AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF7AE
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF7AE#FFFFFF#000000##000000
##FEF7AE1.001.1019.1319.13
#FFFFFF1.101.0021.0021.00
#00000019.1321.001.001.00
##00000019.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2A9
Deuteranopia (green-blind)
#FFF6B1
Tritanopia (blue-blind)
#FFEDE4
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef7ae;
/* rgb */ color: rgb(254, 247, 174);
/* oklch */ color: oklch(96.5% 0.092 103.3);
Tailwind
colors: {
  custom: {
    50: '#fff9c6',
    500: '#fef7ae',
    950: '#000000',
  },
}
SCSS
$custom: #fef7ae;
$custom-light: #fff9c6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef7ae",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 174
  },
  "hsl": {
    "h": 54.75,
    "s": 97.561,
    "l": 83.922
  },
  "oklch": {
    "l": 0.96488,
    "c": 0.09216,
    "h": 103.3
  },
  "luminance": 0.90648
}

Semantic roles & 50–950 ramp

primary
#FEF7AE
secondary
#6D77E3
accent
#14E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FEF7AE

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

Preview Lab → · Contrast checker → · Palette generator →

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