#FEFC6A#FEFC6A

#FEFC6A is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.6% C 0.165 H 108.4°. Best body text is #000000 at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#FEFC6A
RGBrgb(254, 252, 106)
HSLhsl(59, 99%, 71%)
HSVhsv(59, 58%, 100%)
CMYKcmyk(0%, 0.8%, 58.3%, 0.4%)
CIE-LABlab(96.71, -17.13, 68.35)
CIE-LCHlch(96.71, 70.46, 104.07°)
OKLaboklab(96.57% -0.0522 0.1569)
OKLCHoklch(96.57% 0.165 108.4)
XYZxyz(78.2873, 91.7345, 27.2155)
Luminance0.9173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC6A #6A6CFE
analogous
#FEB26A #FEFC6A #B6FE6A
triadic
#FEFC6A #6AFEFC #FC6AFE
tetradic
#FEFC6A #6AFEB2 #6A6CFE #FE6AB6
square
#FEFC6A #6AFEB2 #6A6CFE #FE6AB6
split-complementary
#FEFC6A #6AB6FE #B26AFE
monochromatic
#ECE902 #FEFB2D #FEFC6A #FEFDA7 #FFFEE1

Accessibility & contrast

On white

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

On black

19.35
#FEFC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFC6A
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFC6A#FFFFFF#000000##000000
##FEFC6A1.001.0919.3519.35
#FFFFFF1.091.0021.0021.00
#00000019.3521.001.001.00
##00000019.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF359
Deuteranopia (green-blind)
#FFF872
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefc6a;
/* rgb */ color: rgb(254, 252, 106);
/* oklch */ color: oklch(96.6% 0.165 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffd9a',
    500: '#fefc6a',
    950: '#000000',
  },
}
SCSS
$custom: #fefc6a;
$custom-light: #fffd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc6a",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 106
  },
  "hsl": {
    "h": 59.189,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.96573,
    "c": 0.16536,
    "h": 108.4
  },
  "luminance": 0.91732
}

Semantic roles & 50–950 ramp

primary
#FEFC6A
secondary
#3335DA
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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