#FEF06D#FEF06D

#FEF06D is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.2% C 0.151 H 103.2°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#FEF06D
RGBrgb(254, 240, 109)
HSLhsl(54, 99%, 71%)
HSVhsv(54, 57%, 100%)
CMYKcmyk(0%, 5.5%, 57.1%, 0.4%)
CIE-LABlab(93.67, -11.08, 63.69)
CIE-LCHlch(93.67, 64.64, 99.87°)
OKLaboklab(94.16% -0.0346 0.1473)
OKLCHoklch(94.16% 0.151 103.2)
XYZxyz(74.7960, 84.4978, 26.8348)
Luminance0.8449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF06D #6D7BFE
analogous
#FEA76D #FEF06D #C3FE6D
triadic
#FEF06D #6DFEF0 #F06DFE
tetradic
#FEF06D #6DFEA7 #6D7BFE #FE6DC3
square
#FEF06D #6DFEA7 #6D7BFE #FE6DC3
split-complementary
#FEF06D #6DC3FE #A76DFE
monochromatic
#EFD802 #FEEA30 #FEF06D #FEF6AA #FFFCE1

Accessibility & contrast

On white

1.17
#FEF06D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.90
#FEF06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF06D
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF06D#FFFFFF#000000##000000
##FEF06D1.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95F
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fef06d;
/* rgb */ color: rgb(254, 240, 109);
/* oklch */ color: oklch(94.2% 0.151 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff49b',
    500: '#fef06d',
    950: '#000000',
  },
}
SCSS
$custom: #fef06d;
$custom-light: #fff49b;
$custom-dark: #000000;
JSON
{
  "hex": "#fef06d",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 109
  },
  "hsl": {
    "h": 54.207,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94158,
    "c": 0.15136,
    "h": 103.2
  },
  "luminance": 0.84495
}

Semantic roles & 50–950 ramp

primary
#FEF06D
secondary
#3545DA
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF06D

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

Preview Lab → · Contrast checker → · Palette generator →

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