#FEFAA2#FEFAA2

#FEFAA2 is a very light, moderate yellow. Relative luminance 0.921; OKLCH L 96.9% C 0.109 H 106.0°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FEFAA2
RGBrgb(254, 250, 162)
HSLhsl(57, 98%, 82%)
HSVhsv(57, 36%, 100%)
CMYKcmyk(0%, 1.6%, 36.2%, 0.4%)
CIE-LABlab(96.84, -11.21, 42.72)
CIE-LCHlch(96.84, 44.16, 104.71°)
OKLaboklab(96.89% -0.0301 0.1049)
OKLCHoklch(96.89% 0.109 106)
XYZxyz(81.5813, 92.0524, 47.6458)
Luminance0.9205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFAA2 #A2A6FE
analogous
#FECCA2 #FEFAA2 #D4FEA2
triadic
#FEFAA2 #A2FEFA #FAA2FE
tetradic
#FEFAA2 #A2FECC #A2A6FE #FEA2D4
square
#FEFAA2 #A2FECC #A2A6FE #FEA2D4
split-complementary
#FEFAA2 #A2D4FE #CCA2FE
monochromatic
#FDF329 #FDF765 #FEFAA2 #FFFDDF #FFFDE1

Accessibility & contrast

On white

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

On black

19.41
#FEFAA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFAA2
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFAA2#FFFFFF#000000##000000
##FEFAA21.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF49C
Deuteranopia (green-blind)
#FFF8A6
Tritanopia (blue-blind)
#FFEFE4
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefaa2;
/* rgb */ color: rgb(254, 250, 162);
/* oklch */ color: oklch(96.9% 0.109 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffbbe',
    500: '#fefaa2',
    950: '#000000',
  },
}
SCSS
$custom: #fefaa2;
$custom-light: #fffbbe;
$custom-dark: #000000;
JSON
{
  "hex": "#fefaa2",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 162
  },
  "hsl": {
    "h": 57.391,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.96885,
    "c": 0.10913,
    "h": 106
  },
  "luminance": 0.92051
}

Semantic roles & 50–950 ramp

primary
#FEFAA2
secondary
#6268E2
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEFAA2

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

Preview Lab → · Contrast checker → · Palette generator →

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