#FEFDB7#FEFDB7

#FEFDB7 is a very light, moderate yellow. Relative luminance 0.947; OKLCH L 97.9% C 0.088 H 107.2°. Best body text is #000000 at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#FEFDB7
RGBrgb(254, 253, 183)
HSLhsl(59, 97%, 86%)
HSVhsv(59, 28%, 100%)
CMYKcmyk(0%, 0.4%, 28%, 0.4%)
CIE-LABlab(97.93, -10.21, 33.73)
CIE-LCHlch(97.93, 35.24, 106.85°)
OKLaboklab(97.86% -0.0262 0.0845)
OKLCHoklch(97.86% 0.088 107.2)
XYZxyz(84.5459, 94.7416, 58.6237)
Luminance0.9474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFDB7 #B7B8FE
analogous
#FED9B7 #FEFDB7 #DBFEB7
triadic
#FEFDB7 #B7FEFD #FDB7FE
tetradic
#FEFDB7 #B7FED9 #B7B8FE #FEB7DB
square
#FEFDB7 #B7FED9 #B7B8FE #FEB7DB
split-complementary
#FEFDB7 #B7DBFE #D9B7FE
monochromatic
#FCFA3E #FDFB7B #FEFDB7 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

1.05
#FEFDB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.95
#FEFDB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFDB7
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFDB7#FFFFFF#000000##000000
##FEFDB71.001.0519.9519.95
#FFFFFF1.051.0021.0021.00
#00000019.9521.001.001.00
##00000019.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7B2
Deuteranopia (green-blind)
#FFFBBA
Tritanopia (blue-blind)
#FFF4EB
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fefdb7;
/* rgb */ color: rgb(254, 253, 183);
/* oklch */ color: oklch(97.9% 0.088 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffecd',
    500: '#fefdb7',
    950: '#000000',
  },
}
SCSS
$custom: #fefdb7;
$custom-light: #fffecd;
$custom-dark: #000000;
JSON
{
  "hex": "#fefdb7",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 183
  },
  "hsl": {
    "h": 59.155,
    "s": 97.26,
    "l": 85.686
  },
  "oklch": {
    "l": 0.97855,
    "c": 0.08846,
    "h": 107.2
  },
  "luminance": 0.9474
}

Semantic roles & 50–950 ramp

primary
#FEFDB7
secondary
#7476E5
accent
#03E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FEFDB7

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

Preview Lab → · Contrast checker → · Palette generator →

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