#FEFAA6#FEFAA6

#FEFAA6 is a very light, moderate yellow. Relative luminance 0.922; OKLCH L 97.0% C 0.105 H 105.9°. Best body text is #000000 at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#FEFAA6
RGBrgb(254, 250, 166)
HSLhsl(57, 98%, 82%)
HSVhsv(57, 35%, 100%)
CMYKcmyk(0%, 1.6%, 34.6%, 0.4%)
CIE-LABlab(96.90, -10.77, 40.82)
CIE-LCHlch(96.90, 42.22, 104.77°)
OKLaboklab(96.95% -0.0286 0.1007)
OKLCHoklch(96.95% 0.105 105.9)
XYZxyz(81.9425, 92.1969, 49.5482)
Luminance0.9220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFAA6 #A6AAFE
analogous
#FECEA6 #FEFAA6 #D6FEA6
triadic
#FEFAA6 #A6FEFA #FAA6FE
tetradic
#FEFAA6 #A6FECE #A6AAFE #FEA6D6
square
#FEFAA6 #A6FECE #A6AAFE #FEA6D6
split-complementary
#FEFAA6 #A6D6FE #CEA6FE
monochromatic
#FDF32D #FDF769 #FEFAA6 #FFFDE1 #FFFDE1

Accessibility & contrast

On white

1.08
#FEFAA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.44
#FEFAA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFAA6
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFAA6#FFFFFF#000000##000000
##FEFAA61.001.0819.4419.44
#FFFFFF1.081.0021.0021.00
#00000019.4421.001.001.00
##00000019.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4A0
Deuteranopia (green-blind)
#FFF8A9
Tritanopia (blue-blind)
#FFF0E5
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefaa6;
/* rgb */ color: rgb(254, 250, 166);
/* oklch */ color: oklch(97.0% 0.105 105.9);
Tailwind
colors: {
  custom: {
    50: '#fffbc1',
    500: '#fefaa6',
    950: '#000000',
  },
}
SCSS
$custom: #fefaa6;
$custom-light: #fffbc1;
$custom-dark: #000000;
JSON
{
  "hex": "#fefaa6",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 166
  },
  "hsl": {
    "h": 57.273,
    "s": 97.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.96951,
    "c": 0.10465,
    "h": 105.9
  },
  "luminance": 0.92195
}

Semantic roles & 50–950 ramp

primary
#FEFAA6
secondary
#666CE2
accent
#0AE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEFAA6

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

Preview Lab → · Contrast checker → · Palette generator →

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