#FEFE8A#FEFE8A

#FEFE8A is a very light, vivid yellow. Relative luminance 0.938; OKLCH L 97.3% C 0.139 H 108.7°. Best body text is #000000 at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#FEFE8A
RGBrgb(254, 254, 138)
HSLhsl(60, 98%, 77%)
HSVhsv(60, 46%, 100%)
CMYKcmyk(0%, 0%, 45.7%, 0.4%)
CIE-LABlab(97.55, -15.57, 55.11)
CIE-LCHlch(97.55, 57.27, 105.78°)
OKLaboklab(97.34% -0.0445 0.1315)
OKLCHoklch(97.34% 0.139 108.7)
XYZxyz(80.9039, 93.7913, 37.8815)
Luminance0.9379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFE8A #8A8AFE
analogous
#FEC48A #FEFE8A #C4FE8A
triadic
#FEFE8A #8AFEFE #FE8AFE
tetradic
#FEFE8A #8AFEC4 #8A8AFE #FE8AC4
square
#FEFE8A #8AFEC4 #8A8AFE #FE8AC4
split-complementary
#FEFE8A #8AC4FE #C48AFE
monochromatic
#FDFD11 #FDFD4D #FEFE8A #FFFFC7 #FFFFE1

Accessibility & contrast

On white

1.06
#FEFE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.76
#FEFE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFE8A
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFE8A#FFFFFF#000000##000000
##FEFE8A1.001.0619.7619.76
#FFFFFF1.061.0021.0021.00
#00000019.7621.001.001.00
##00000019.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF680
Deuteranopia (green-blind)
#FFFA90
Tritanopia (blue-blind)
#FFF1E3
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefe8a;
/* rgb */ color: rgb(254, 254, 138);
/* oklch */ color: oklch(97.3% 0.139 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffeae',
    500: '#fefe8a',
    950: '#000000',
  },
}
SCSS
$custom: #fefe8a;
$custom-light: #fffeae;
$custom-dark: #000000;
JSON
{
  "hex": "#fefe8a",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.97344,
    "c": 0.13879,
    "h": 108.7
  },
  "luminance": 0.93789
}

Semantic roles & 50–950 ramp

primary
#FEFE8A
secondary
#4E4EDE
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEFE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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