#FEF681#FEF681

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

Color values

HEX#FEF681
RGBrgb(254, 246, 129)
HSLhsl(56, 98%, 75%)
HSVhsv(56, 49%, 100%)
CMYKcmyk(0%, 3.1%, 49.2%, 0.4%)
CIE-LABlab(95.40, -12.47, 56.70)
CIE-LCHlch(95.40, 58.05, 102.40°)
OKLaboklab(95.6% -0.0365 0.1342)
OKLCHoklch(95.6% 0.139 105.2)
XYZxyz(77.7933, 88.5696, 33.7624)
Luminance0.8857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF681 #8189FE
analogous
#FEB781 #FEF681 #C7FE81
triadic
#FEF681 #81FEF6 #F681FE
tetradic
#FEF681 #81FEB7 #8189FE #FE81C7
square
#FEF681 #81FEB7 #8189FE #FE81C7
split-complementary
#FEF681 #81C7FE #B781FE
monochromatic
#FDED08 #FEF244 #FEF681 #FEFABE #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF681#FFFFFF#000000##000000
##FEF6811.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)
#FFEF76
Deuteranopia (green-blind)
#FFF487
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef681;
/* rgb */ color: rgb(254, 246, 129);
/* oklch */ color: oklch(95.6% 0.139 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff9a8',
    500: '#fef681',
    950: '#000000',
  },
}
SCSS
$custom: #fef681;
$custom-light: #fff9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef681",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 129
  },
  "hsl": {
    "h": 56.16,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.95602,
    "c": 0.13912,
    "h": 105.2
  },
  "luminance": 0.88567
}

Semantic roles & 50–950 ramp

primary
#FEF681
secondary
#4650DD
accent
#0FE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF681

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

Preview Lab → · Contrast checker → · Palette generator →

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