#FEFD7F#FEFD7F

#FEFD7F is a very light, vivid yellow. Relative luminance 0.929; OKLCH L 97.0% C 0.148 H 108.5°. Best body text is #000000 at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#FEFD7F
RGBrgb(254, 253, 127)
HSLhsl(60, 98%, 75%)
HSVhsv(60, 50%, 100%)
CMYKcmyk(0%, 0.4%, 50%, 0.4%)
CIE-LABlab(97.17, -16.04, 59.71)
CIE-LCHlch(97.17, 61.83, 105.04°)
OKLaboklab(97% -0.0469 0.1406)
OKLCHoklch(97% 0.148 108.5)
XYZxyz(79.8310, 92.8557, 33.7922)
Luminance0.9285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD7F #7F80FE
analogous
#FEBE7F #FEFD7F #BFFE7F
triadic
#FEFD7F #7FFEFD #FD7FFE
tetradic
#FEFD7F #7FFEBE #7F80FE #FE7FBF
square
#FEFD7F #7FFEBE #7F80FE #FE7FBF
split-complementary
#FEFD7F #7FBFFE #BE7FFE
monochromatic
#FDFB06 #FEFC42 #FEFD7F #FEFEBC #FFFFE1

Accessibility & contrast

On white

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

On black

19.57
#FEFD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD7F
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD7F#FFFFFF#000000##000000
##FEFD7F1.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF473
Deuteranopia (green-blind)
#FFF985
Tritanopia (blue-blind)
#FFF0E0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefd7f;
/* rgb */ color: rgb(254, 253, 127);
/* oklch */ color: oklch(97.0% 0.148 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffda7',
    500: '#fefd7f',
    950: '#000000',
  },
}
SCSS
$custom: #fefd7f;
$custom-light: #fffda7;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd7f",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 127
  },
  "hsl": {
    "h": 59.528,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.97002,
    "c": 0.14826,
    "h": 108.5
  },
  "luminance": 0.92854
}

Semantic roles & 50–950 ramp

primary
#FEFD7F
secondary
#4546DD
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEFD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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