#FEFAC2#FEFAC2

#FEFAC2 is a very light, moderate yellow. Relative luminance 0.933; OKLCH L 97.5% C 0.072 H 104.2°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#FEFAC2
RGBrgb(254, 250, 194)
HSLhsl(56, 97%, 88%)
HSVhsv(56, 24%, 100%)
CMYKcmyk(0%, 1.6%, 23.6%, 0.4%)
CIE-LABlab(97.36, -7.30, 27.42)
CIE-LCHlch(97.36, 28.38, 104.92°)
OKLaboklab(97.47% -0.0176 0.0695)
OKLCHoklch(97.47% 0.072 104.2)
XYZxyz(84.7962, 93.3384, 64.5776)
Luminance0.9334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFAC2 #C2C6FE
analogous
#FEDCC2 #FEFAC2 #E4FEC2
triadic
#FEFAC2 #C2FEFA #FAC2FE
tetradic
#FEFAC2 #C2FEDC #C2C6FE #FEC2E4
square
#FEFAC2 #C2FEDC #C2C6FE #FEC2E4
split-complementary
#FEFAC2 #C2E4FE #DCC2FE
monochromatic
#FCF04A #FDF586 #FEFAC2 #FFFDE1 #FFFDE1

Accessibility & contrast

On white

1.07
#FEFAC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.67
#FEFAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFAC2
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFAC2#FFFFFF#000000##000000
##FEFAC21.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6BE
Deuteranopia (green-blind)
#FFF9C4
Tritanopia (blue-blind)
#FFF2EB
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefac2;
/* rgb */ color: rgb(254, 250, 194);
/* oklch */ color: oklch(97.5% 0.072 104.2);
Tailwind
colors: {
  custom: {
    50: '#fffbd4',
    500: '#fefac2',
    950: '#000000',
  },
}
SCSS
$custom: #fefac2;
$custom-light: #fffbd4;
$custom-dark: #000000;
JSON
{
  "hex": "#fefac2",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 56,
    "s": 96.774,
    "l": 87.843
  },
  "oklch": {
    "l": 0.9747,
    "c": 0.07171,
    "h": 104.2
  },
  "luminance": 0.93337
}

Semantic roles & 50–950 ramp

primary
#FEFAC2
secondary
#7E85E6
accent
#0FE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEFAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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