#FEFD6F#FEFD6F

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

Color values

HEX#FEFD6F
RGBrgb(254, 253, 111)
HSLhsl(60, 99%, 72%)
HSVhsv(60, 56%, 100%)
CMYKcmyk(0%, 0.4%, 56.3%, 0.4%)
CIE-LABlab(97.01, -17.27, 66.57)
CIE-LCHlch(97.01, 68.77, 104.54°)
OKLaboklab(96.83% -0.0521 0.1537)
OKLCHoklch(96.83% 0.162 108.7)
XYZxyz(78.8698, 92.4712, 28.7299)
Luminance0.9247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD6F #6F70FE
analogous
#FEB56F #FEFD6F #B8FE6F
triadic
#FEFD6F #6FFEFD #FD6FFE
tetradic
#FEFD6F #6FFEB5 #6F70FE #FE6FB8
square
#FEFD6F #6FFEB5 #6F70FE #FE6FB8
split-complementary
#FEFD6F #6FB8FE #B56FFE
monochromatic
#F1EF02 #FEFC32 #FEFD6F #FEFEAC #FFFFE1

Accessibility & contrast

On white

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

On black

19.49
#FEFD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD6F
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD6F#FFFFFF#000000##000000
##FEFD6F1.001.0819.4919.49
#FFFFFF1.081.0021.0021.00
#00000019.4921.001.001.00
##00000019.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF460
Deuteranopia (green-blind)
#FFF977
Tritanopia (blue-blind)
#FFEFDE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefd6f;
/* rgb */ color: rgb(254, 253, 111);
/* oklch */ color: oklch(96.8% 0.162 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffd9d',
    500: '#fefd6f',
    950: '#000000',
  },
}
SCSS
$custom: #fefd6f;
$custom-light: #fffd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd6f",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 111
  },
  "hsl": {
    "h": 59.58,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.96827,
    "c": 0.16232,
    "h": 108.7
  },
  "luminance": 0.92469
}

Semantic roles & 50–950 ramp

primary
#FEFD6F
secondary
#3738DA
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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