#FEF68F#FEF68F

#FEF68F is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.8% C 0.125 H 104.6°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#FEF68F
RGBrgb(254, 246, 143)
HSLhsl(56, 98%, 78%)
HSVhsv(56, 44%, 100%)
CMYKcmyk(0%, 3.1%, 43.7%, 0.4%)
CIE-LABlab(95.57, -11.20, 50.32)
CIE-LCHlch(95.57, 51.55, 102.55°)
OKLaboklab(95.79% -0.0316 0.1212)
OKLCHoklch(95.79% 0.125 104.6)
XYZxyz(78.7884, 88.9677, 39.0034)
Luminance0.8897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF68F #8F97FE
analogous
#FEBF8F #FEF68F #CEFE8F
triadic
#FEF68F #8FFEF6 #F68FFE
tetradic
#FEF68F #8FFEBF #8F97FE #FE8FCE
square
#FEF68F #8FFEBF #8F97FE #FE8FCE
split-complementary
#FEF68F #8FCEFE #BF8FFE
monochromatic
#FDEC16 #FDF152 #FEF68F #FFFBCC #FFFDE1

Accessibility & contrast

On white

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

On black

18.79
#FEF68F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF68F
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF68F#FFFFFF#000000##000000
##FEF68F1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef68f;
/* rgb */ color: rgb(254, 246, 143);
/* oklch */ color: oklch(95.8% 0.125 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff9b1',
    500: '#fef68f',
    950: '#000000',
  },
}
SCSS
$custom: #fef68f;
$custom-light: #fff9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef68f",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 143
  },
  "hsl": {
    "h": 55.676,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.95789,
    "c": 0.12521,
    "h": 104.6
  },
  "luminance": 0.88966
}

Semantic roles & 50–950 ramp

primary
#FEF68F
secondary
#525CDF
accent
#11E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF68F

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

Preview Lab → · Contrast checker → · Palette generator →

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