#FEFB78#FEFB78

#FEFB78 is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.5% C 0.153 H 107.7°. Best body text is #000000 at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#FEFB78
RGBrgb(254, 251, 120)
HSLhsl(59, 99%, 73%)
HSVhsv(59, 53%, 100%)
CMYKcmyk(0%, 1.2%, 52.8%, 0.4%)
CIE-LABlab(96.58, -15.64, 62.17)
CIE-LCHlch(96.58, 64.10, 104.12°)
OKLaboklab(96.51% -0.0465 0.1453)
OKLCHoklch(96.51% 0.153 107.7)
XYZxyz(78.7625, 91.4234, 31.2632)
Luminance0.9142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB78 #787BFE
analogous
#FEB878 #FEFB78 #BEFE78
triadic
#FEFB78 #78FEFB #FB78FE
tetradic
#FEFB78 #78FEB8 #787BFE #FE78BE
square
#FEFB78 #78FEB8 #787BFE #FE78BE
split-complementary
#FEFB78 #78BEFE #B878FE
monochromatic
#FAF402 #FEF93B #FEFB78 #FEFDB5 #FFFEE1

Accessibility & contrast

On white

1.09
#FEFB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.28
#FEFB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB78
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB78#FFFFFF#000000##000000
##FEFB781.001.0919.2819.28
#FFFFFF1.091.0021.0021.00
#00000019.2821.001.001.00
##00000019.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26B
Deuteranopia (green-blind)
#FFF87F
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefb78;
/* rgb */ color: rgb(254, 251, 120);
/* oklch */ color: oklch(96.5% 0.153 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffca2',
    500: '#fefb78',
    950: '#000000',
  },
}
SCSS
$custom: #fefb78;
$custom-light: #fffca2;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb78",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 120
  },
  "hsl": {
    "h": 58.657,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.96513,
    "c": 0.15254,
    "h": 107.7
  },
  "luminance": 0.91421
}

Semantic roles & 50–950 ramp

primary
#FEFB78
secondary
#3F42DC
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFB78

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

Preview Lab → · Contrast checker → · Palette generator →

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