#FEF680#FEF680

#FEF680 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.6% C 0.140 H 105.3°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#FEF680
RGBrgb(254, 246, 128)
HSLhsl(56, 98%, 75%)
HSVhsv(56, 50%, 100%)
CMYKcmyk(0%, 3.1%, 49.6%, 0.4%)
CIE-LABlab(95.39, -12.55, 57.15)
CIE-LCHlch(95.39, 58.51, 102.39°)
OKLaboklab(95.59% -0.0369 0.1351)
OKLCHoklch(95.59% 0.14 105.3)
XYZxyz(77.7271, 88.5432, 33.4140)
Luminance0.8854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF680 #8088FE
analogous
#FEB780 #FEF680 #C7FE80
triadic
#FEF680 #80FEF6 #F680FE
tetradic
#FEF680 #80FEB7 #8088FE #FE80C7
square
#FEF680 #80FEB7 #8088FE #FE80C7
split-complementary
#FEF680 #80C7FE #B780FE
monochromatic
#FDED07 #FEF243 #FEF680 #FEFABD #FFFDE1

Accessibility & contrast

On white

1.12
#FEF680 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.71
#FEF680 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF680
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF680#FFFFFF#000000##000000
##FEF6801.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF75
Deuteranopia (green-blind)
#FFF486
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef680;
/* rgb */ color: rgb(254, 246, 128);
/* oklch */ color: oklch(95.6% 0.140 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff9a7',
    500: '#fef680',
    950: '#000000',
  },
}
SCSS
$custom: #fef680;
$custom-light: #fff9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef680",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 128
  },
  "hsl": {
    "h": 56.19,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.9559,
    "c": 0.14007,
    "h": 105.3
  },
  "luminance": 0.88541
}

Semantic roles & 50–950 ramp

primary
#FEF680
secondary
#454FDD
accent
#0FE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF680

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

Preview Lab → · Contrast checker → · Palette generator →

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