#FEF68D#FEF68D

#FEF68D is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.8% C 0.127 H 104.7°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FEF68D
RGBrgb(254, 246, 141)
HSLhsl(56, 98%, 77%)
HSVhsv(56, 44%, 100%)
CMYKcmyk(0%, 3.1%, 44.5%, 0.4%)
CIE-LABlab(95.54, -11.39, 51.24)
CIE-LCHlch(95.54, 52.49, 102.53°)
OKLaboklab(95.76% -0.0323 0.1231)
OKLCHoklch(95.76% 0.127 104.7)
XYZxyz(78.6383, 88.9076, 38.2126)
Luminance0.8891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF68D #8D95FE
analogous
#FEBD8D #FEF68D #CEFE8D
triadic
#FEF68D #8DFEF6 #F68DFE
tetradic
#FEF68D #8DFEBD #8D95FE #FE8DCE
square
#FEF68D #8DFEBD #8D95FE #FE8DCE
split-complementary
#FEF68D #8DCEFE #BD8DFE
monochromatic
#FDEC14 #FDF150 #FEF68D #FFFBCA #FFFDE1

Accessibility & contrast

On white

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

On black

18.78
#FEF68D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF68D
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF68D#FFFFFF#000000##000000
##FEF68D1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF84
Deuteranopia (green-blind)
#FFF592
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef68d;
/* rgb */ color: rgb(254, 246, 141);
/* oklch */ color: oklch(95.8% 0.127 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff9b0',
    500: '#fef68d',
    950: '#000000',
  },
}
SCSS
$custom: #fef68d;
$custom-light: #fff9b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fef68d",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 141
  },
  "hsl": {
    "h": 55.752,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.9576,
    "c": 0.12726,
    "h": 104.7
  },
  "luminance": 0.88905
}

Semantic roles & 50–950 ramp

primary
#FEF68D
secondary
#505BDF
accent
#10E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FEF68D

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

Preview Lab → · Contrast checker → · Palette generator →

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