#FEFA97#FEFA97

#FEFA97 is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.7% C 0.121 H 106.4°. Best body text is #000000 at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#FEFA97
RGBrgb(254, 250, 151)
HSLhsl(58, 98%, 79%)
HSVhsv(58, 41%, 100%)
CMYKcmyk(0%, 1.6%, 40.6%, 0.4%)
CIE-LABlab(96.69, -12.37, 47.88)
CIE-LCHlch(96.69, 49.45, 104.49°)
OKLaboklab(96.71% -0.0343 0.1161)
OKLCHoklch(96.71% 0.121 106.4)
XYZxyz(80.6459, 91.6783, 42.7196)
Luminance0.9168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA97 #979BFE
analogous
#FEC797 #FEFA97 #CFFE97
triadic
#FEFA97 #97FEFA #FA97FE
tetradic
#FEFA97 #97FEC7 #979BFE #FE97CF
square
#FEFA97 #97FEC7 #979BFE #FE97CF
split-complementary
#FEFA97 #97CFFE #C797FE
monochromatic
#FDF41E #FDF75A #FEFA97 #FFFDD4 #FFFEE1

Accessibility & contrast

On white

1.09
#FEFA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.34
#FEFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA97
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA97#FFFFFF#000000##000000
##FEFA971.001.0919.3419.34
#FFFFFF1.091.0021.0021.00
#00000019.3421.001.001.00
##00000019.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38F
Deuteranopia (green-blind)
#FFF89B
Tritanopia (blue-blind)
#FFEEE2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefa97;
/* rgb */ color: rgb(254, 250, 151);
/* oklch */ color: oklch(96.7% 0.121 106.4);
Tailwind
colors: {
  custom: {
    50: '#fffbb7',
    500: '#fefa97',
    950: '#000000',
  },
}
SCSS
$custom: #fefa97;
$custom-light: #fffbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa97",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 57.67,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96713,
    "c": 0.12109,
    "h": 106.4
  },
  "luminance": 0.91676
}

Semantic roles & 50–950 ramp

primary
#FEFA97
secondary
#595EE0
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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