#FEFD6A#FEFD6A

#FEFD6A is a very light, vivid yellow. Relative luminance 0.924; OKLCH L 96.8% C 0.166 H 108.8°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#FEFD6A
RGBrgb(254, 253, 106)
HSLhsl(60, 99%, 71%)
HSVhsv(60, 58%, 100%)
CMYKcmyk(0%, 0.4%, 58.3%, 0.4%)
CIE-LABlab(96.97, -17.62, 68.63)
CIE-LCHlch(96.97, 70.85, 104.40°)
OKLaboklab(96.78% -0.0535 0.1575)
OKLCHoklch(96.78% 0.166 108.8)
XYZxyz(78.6022, 92.3642, 27.3204)
Luminance0.9236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD6A #6A6BFE
analogous
#FEB36A #FEFD6A #B5FE6A
triadic
#FEFD6A #6AFEFD #FD6AFE
tetradic
#FEFD6A #6AFEB3 #6A6BFE #FE6AB5
square
#FEFD6A #6AFEB3 #6A6BFE #FE6AB5
split-complementary
#FEFD6A #6AB5FE #B36AFE
monochromatic
#ECEA02 #FEFC2D #FEFD6A #FEFEA7 #FFFFE1

Accessibility & contrast

On white

1.08
#FEFD6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.47
#FEFD6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD6A
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD6A#FFFFFF#000000##000000
##FEFD6A1.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF359
Deuteranopia (green-blind)
#FFF973
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefd6a;
/* rgb */ color: rgb(254, 253, 106);
/* oklch */ color: oklch(96.8% 0.166 108.8);
Tailwind
colors: {
  custom: {
    50: '#fffd9a',
    500: '#fefd6a',
    950: '#000000',
  },
}
SCSS
$custom: #fefd6a;
$custom-light: #fffd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd6a",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 106
  },
  "hsl": {
    "h": 59.595,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.96778,
    "c": 0.16636,
    "h": 108.8
  },
  "luminance": 0.92362
}

Semantic roles & 50–950 ramp

primary
#FEFD6A
secondary
#3334DA
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFD6A

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

Preview Lab → · Contrast checker → · Palette generator →

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