#FEFAC8#FEFAC8

#FEFAC8 is a very light, moderate yellow. Relative luminance 0.936; OKLCH L 97.6% C 0.064 H 103.7°. Best body text is #000000 at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#FEFAC8
RGBrgb(254, 250, 200)
HSLhsl(56, 96%, 89%)
HSVhsv(56, 21%, 100%)
CMYKcmyk(0%, 1.6%, 21.3%, 0.4%)
CIE-LABlab(97.48, -6.49, 24.53)
CIE-LCHlch(97.48, 25.37, 104.81°)
OKLaboklab(97.6% -0.0153 0.0625)
OKLCHoklch(97.6% 0.064 103.7)
XYZxyz(85.4837, 93.6134, 68.1983)
Luminance0.9361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFAC8 #C8CCFE
analogous
#FEDFC8 #FEFAC8 #E7FEC8
triadic
#FEFAC8 #C8FEFA #FAC8FE
tetradic
#FEFAC8 #C8FEDF #C8CCFE #FEC8E7
square
#FEFAC8 #C8FEDF #C8CCFE #FEC8E7
split-complementary
#FEFAC8 #C8E7FE #DFC8FE
monochromatic
#FCEF50 #FDF58C #FEFAC8 #FEFCE1 #FEFCE1

Accessibility & contrast

On white

1.06
#FEFAC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.72
#FEFAC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFAC8
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFAC8#FFFFFF#000000##000000
##FEFAC81.001.0619.7219.72
#FFFFFF1.061.0021.0021.00
#00000019.7221.001.001.00
##00000019.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6C5
Deuteranopia (green-blind)
#FFF9CA
Tritanopia (blue-blind)
#FFF3EC
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefac8;
/* rgb */ color: rgb(254, 250, 200);
/* oklch */ color: oklch(97.6% 0.064 103.7);
Tailwind
colors: {
  custom: {
    50: '#fffbd9',
    500: '#fefac8',
    950: '#000000',
  },
}
SCSS
$custom: #fefac8;
$custom-light: #fffbd9;
$custom-dark: #000000;
JSON
{
  "hex": "#fefac8",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 200
  },
  "hsl": {
    "h": 55.556,
    "s": 96.429,
    "l": 89.02
  },
  "oklch": {
    "l": 0.97595,
    "c": 0.06436,
    "h": 103.7
  },
  "luminance": 0.93612
}

Semantic roles & 50–950 ramp

primary
#FEFAC8
secondary
#838BE7
accent
#11E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEFAC8

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

Preview Lab → · Contrast checker → · Palette generator →

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