#FEFFD2#FEFFD2

#FEFFD2 is a very light, muted yellow. Relative luminance 0.972; OKLCH L 98.8% C 0.058 H 108.5°. Best body text is #000000 at 20.45:1 contrast (WCAG AA passes).

Color values

HEX#FEFFD2
RGBrgb(254, 255, 210)
HSLhsl(61, 100%, 91%)
HSVhsv(61, 18%, 100%)
CMYKcmyk(0.4%, 0%, 17.6%, 0%)
CIE-LABlab(98.92, -7.55, 21.45)
CIE-LCHlch(98.92, 22.74, 109.39°)
OKLaboklab(98.8% -0.0184 0.055)
OKLCHoklch(98.8% 0.058 108.5)
XYZxyz(88.2651, 97.2448, 75.0806)
Luminance0.9724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFFD2 #D3D2FF
analogous
#FFE9D2 #FEFFD2 #E7FFD2
triadic
#FEFFD2 #D2FEFF #FFD2FE
tetradic
#FEFFD2 #D2FFE9 #D3D2FF #FFD2E7
square
#FEFFD2 #D2FFE9 #D3D2FF #FFD2E7
split-complementary
#FEFFD2 #D2E7FF #E9D2FF
monochromatic
#FBFF58 #FDFF95 #FEFFD2 #FEFFE0 #FEFFE0

Accessibility & contrast

On white

1.03
#FEFFD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.45
#FEFFD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFFD2
20.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFFD2#FFFFFF#000000##000000
##FEFFD21.001.0320.4520.45
#FFFFFF1.031.0021.0021.00
#00000020.4521.001.001.00
##00000020.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFBCF
Deuteranopia (green-blind)
#FFFDD4
Tritanopia (blue-blind)
#FFF9F2
Achromatopsia (no color)
#FCFCFC

Design tokens & code

CSS
--color: #feffd2;
/* rgb */ color: rgb(254, 255, 210);
/* oklch */ color: oklch(98.8% 0.058 108.5);
Tailwind
colors: {
  custom: {
    50: '#ffffe0',
    500: '#feffd2',
    950: '#000000',
  },
}
SCSS
$custom: #feffd2;
$custom-light: #ffffe0;
$custom-dark: #000000;
JSON
{
  "hex": "#feffd2",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 210
  },
  "hsl": {
    "h": 61.333,
    "s": 100,
    "l": 91.176
  },
  "oklch": {
    "l": 0.98804,
    "c": 0.05799,
    "h": 108.5
  },
  "luminance": 0.97244
}

Semantic roles & 50–950 ramp

primary
#FEFFD2
secondary
#8D8BEA
accent
#00E605
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181815
muted
#868684

Preview Lab

Preview with #FEFFD2

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

Preview Lab → · Contrast checker → · Palette generator →

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