#FEF678#FEF678

#FEF678 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.5% C 0.147 H 105.6°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#FEF678
RGBrgb(254, 246, 120)
HSLhsl(56, 99%, 73%)
HSVhsv(56, 53%, 100%)
CMYKcmyk(0%, 3.1%, 52.8%, 0.4%)
CIE-LABlab(95.30, -13.20, 60.69)
CIE-LCHlch(95.30, 62.11, 102.28°)
OKLaboklab(95.49% -0.0395 0.1421)
OKLCHoklch(95.49% 0.147 105.6)
XYZxyz(77.2212, 88.3408, 30.7494)
Luminance0.8834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF678 #7880FE
analogous
#FEB378 #FEF678 #C3FE78
triadic
#FEF678 #78FEF6 #F678FE
tetradic
#FEF678 #78FEB3 #7880FE #FE78C3
square
#FEF678 #78FEB3 #7880FE #FE78C3
split-complementary
#FEF678 #78C3FE #B378FE
monochromatic
#FAEB02 #FEF23B #FEF678 #FEFAB5 #FFFDE1

Accessibility & contrast

On white

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

On black

18.67
#FEF678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF678
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF678#FFFFFF#000000##000000
##FEF6781.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFF47E
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef678;
/* rgb */ color: rgb(254, 246, 120);
/* oklch */ color: oklch(95.5% 0.147 105.6);
Tailwind
colors: {
  custom: {
    50: '#fff9a2',
    500: '#fef678',
    950: '#000000',
  },
}
SCSS
$custom: #fef678;
$custom-light: #fff9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef678",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 120
  },
  "hsl": {
    "h": 56.418,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95495,
    "c": 0.14748,
    "h": 105.6
  },
  "luminance": 0.88338
}

Semantic roles & 50–950 ramp

primary
#FEF678
secondary
#3F48DC
accent
#0EE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF678

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

Preview Lab → · Contrast checker → · Palette generator →

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