#FEF968#FEF968

#FEF968 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.164 H 107.3°. Best body text is #000000 at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#FEF968
RGBrgb(254, 249, 104)
HSLhsl(58, 99%, 70%)
HSVhsv(58, 59%, 100%)
CMYKcmyk(0%, 2%, 59.1%, 0.4%)
CIE-LABlab(95.92, -15.82, 68.32)
CIE-LCHlch(95.92, 70.13, 103.04°)
OKLaboklab(95.94% -0.0487 0.1566)
OKLCHoklch(95.94% 0.164 107.3)
XYZxyz(77.2499, 89.8240, 26.3625)
Luminance0.8982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF968 #686DFE
analogous
#FEAE68 #FEF968 #B8FE68
triadic
#FEF968 #68FEF9 #F968FE
tetradic
#FEF968 #68FEAE #686DFE #FE68B8
square
#FEF968 #68FEAE #686DFE #FE68B8
split-complementary
#FEF968 #68B8FE #AE68FE
monochromatic
#EAE202 #FEF72B #FEF968 #FEFBA5 #FFFEE1

Accessibility & contrast

On white

1.11
#FEF968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.96
#FEF968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF968
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF968#FFFFFF#000000##000000
##FEF9681.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF057
Deuteranopia (green-blind)
#FFF670
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef968;
/* rgb */ color: rgb(254, 249, 104);
/* oklch */ color: oklch(95.9% 0.164 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffb98',
    500: '#fef968',
    950: '#000000',
  },
}
SCSS
$custom: #fef968;
$custom-light: #fffb98;
$custom-dark: #000000;
JSON
{
  "hex": "#fef968",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 58,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9594,
    "c": 0.16399,
    "h": 107.3
  },
  "luminance": 0.89822
}

Semantic roles & 50–950 ramp

primary
#FEF968
secondary
#3137D9
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF968

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

Preview Lab → · Contrast checker → · Palette generator →

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