#FEFE78#FEFE78

#FEFE78 is a very light, vivid yellow. Relative luminance 0.933; OKLCH L 97.1% C 0.156 H 109.0°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#FEFE78
RGBrgb(254, 254, 120)
HSLhsl(60, 99%, 73%)
HSVhsv(60, 53%, 100%)
CMYKcmyk(0%, 0%, 52.8%, 0.4%)
CIE-LABlab(97.35, -17.09, 63.05)
CIE-LCHlch(97.35, 65.33, 105.16°)
OKLaboklab(97.13% -0.0506 0.1472)
OKLCHoklch(97.13% 0.156 109)
XYZxyz(79.7071, 93.3125, 31.5780)
Luminance0.9331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFE78 #7878FE
analogous
#FEBB78 #FEFE78 #BBFE78
triadic
#FEFE78 #78FEFE #FE78FE
tetradic
#FEFE78 #78FEBB #7878FE #FE78BB
square
#FEFE78 #78FEBB #7878FE #FE78BB
split-complementary
#FEFE78 #78BBFE #BB78FE
monochromatic
#FAFA02 #FEFE3B #FEFE78 #FEFEB5 #FFFFE1

Accessibility & contrast

On white

1.07
#FEFE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.66
#FEFE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFE78
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFE78#FFFFFF#000000##000000
##FEFE781.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF56B
Deuteranopia (green-blind)
#FFFA7F
Tritanopia (blue-blind)
#FFF0E0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefe78;
/* rgb */ color: rgb(254, 254, 120);
/* oklch */ color: oklch(97.1% 0.156 109.0);
Tailwind
colors: {
  custom: {
    50: '#fffea3',
    500: '#fefe78',
    950: '#000000',
  },
}
SCSS
$custom: #fefe78;
$custom-light: #fffea3;
$custom-dark: #000000;
JSON
{
  "hex": "#fefe78",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.97127,
    "c": 0.15565,
    "h": 109
  },
  "luminance": 0.93311
}

Semantic roles & 50–950 ramp

primary
#FEFE78
secondary
#3F3FDC
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFE78

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

Preview Lab → · Contrast checker → · Palette generator →

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