#FEFD6C#FEFD6C

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

Color values

HEX#FEFD6C
RGBrgb(254, 253, 108)
HSLhsl(60, 99%, 71%)
HSVhsv(60, 57%, 100%)
CMYKcmyk(0%, 0.4%, 57.5%, 0.4%)
CIE-LABlab(96.99, -17.48, 67.81)
CIE-LCHlch(96.99, 70.03, 104.45°)
OKLaboklab(96.8% -0.053 0.156)
OKLCHoklch(96.8% 0.165 108.7)
XYZxyz(78.7074, 92.4063, 27.8746)
Luminance0.9240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD6C #6C6DFE
analogous
#FEB46C #FEFD6C #B6FE6C
triadic
#FEFD6C #6CFEFD #FD6CFE
tetradic
#FEFD6C #6CFEB4 #6C6DFE #FE6CB6
square
#FEFD6C #6CFEB4 #6C6DFE #FE6CB6
split-complementary
#FEFD6C #6CB6FE #B46CFE
monochromatic
#EEEC02 #FEFC2F #FEFD6C #FEFEA9 #FFFFE1

Accessibility & contrast

On white

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

On black

19.48
#FEFD6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD6C
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD6C#FFFFFF#000000##000000
##FEFD6C1.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefd6c;
/* rgb */ color: rgb(254, 253, 108);
/* oklch */ color: oklch(96.8% 0.165 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffd9b',
    500: '#fefd6c',
    950: '#000000',
  },
}
SCSS
$custom: #fefd6c;
$custom-light: #fffd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd6c",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 108
  },
  "hsl": {
    "h": 59.589,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.96798,
    "c": 0.16476,
    "h": 108.7
  },
  "luminance": 0.92404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEFD6C

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

Preview Lab → · Contrast checker → · Palette generator →

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