#FEFA8A#FEFA8A

#FEFA8A is a very light, vivid yellow. Relative luminance 0.913; OKLCH L 96.5% C 0.134 H 106.9°. Best body text is #000000 at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#FEFA8A
RGBrgb(254, 250, 138)
HSLhsl(58, 98%, 77%)
HSVhsv(58, 46%, 100%)
CMYKcmyk(0%, 1.6%, 45.7%, 0.4%)
CIE-LABlab(96.52, -13.63, 53.86)
CIE-LCHlch(96.52, 55.56, 104.20°)
OKLaboklab(96.53% -0.039 0.1287)
OKLCHoklch(96.53% 0.134 106.9)
XYZxyz(79.6478, 91.2790, 37.4628)
Luminance0.9128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA8A #8A8EFE
analogous
#FEC08A #FEFA8A #C8FE8A
triadic
#FEFA8A #8AFEFA #FA8AFE
tetradic
#FEFA8A #8AFEC0 #8A8EFE #FE8AC8
square
#FEFA8A #8AFEC0 #8A8EFE #FE8AC8
split-complementary
#FEFA8A #8AC8FE #C08AFE
monochromatic
#FDF511 #FDF74D #FEFA8A #FFFDC7 #FFFEE1

Accessibility & contrast

On white

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

On black

19.26
#FEFA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA8A
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA8A#FFFFFF#000000##000000
##FEFA8A1.001.0919.2619.26
#FFFFFF1.091.0021.0021.00
#00000019.2621.001.001.00
##00000019.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF280
Deuteranopia (green-blind)
#FFF78F
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefa8a;
/* rgb */ color: rgb(254, 250, 138);
/* oklch */ color: oklch(96.5% 0.134 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffbae',
    500: '#fefa8a',
    950: '#000000',
  },
}
SCSS
$custom: #fefa8a;
$custom-light: #fffbae;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa8a",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 57.931,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9653,
    "c": 0.13448,
    "h": 106.9
  },
  "luminance": 0.91277
}

Semantic roles & 50–950 ramp

primary
#FEFA8A
secondary
#4E53DE
accent
#08E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEFA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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