#FEFA78#FEFA78

#FEFA78 is a very light, vivid yellow. Relative luminance 0.908; OKLCH L 96.3% C 0.152 H 107.3°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#FEFA78
RGBrgb(254, 250, 120)
HSLhsl(58, 99%, 73%)
HSVhsv(58, 53%, 100%)
CMYKcmyk(0%, 1.6%, 52.8%, 0.4%)
CIE-LABlab(96.33, -15.15, 61.87)
CIE-LCHlch(96.33, 63.70, 103.76°)
OKLaboklab(96.31% -0.0451 0.1446)
OKLCHoklch(96.31% 0.152 107.3)
XYZxyz(78.4510, 90.8003, 31.1593)
Luminance0.9080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA78 #787CFE
analogous
#FEB778 #FEFA78 #BFFE78
triadic
#FEFA78 #78FEFA #FA78FE
tetradic
#FEFA78 #78FEB7 #787CFE #FE78BF
square
#FEFA78 #78FEB7 #787CFE #FE78BF
split-complementary
#FEFA78 #78BFFE #B778FE
monochromatic
#FAF202 #FEF83B #FEFA78 #FEFCB5 #FFFEE1

Accessibility & contrast

On white

1.10
#FEFA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.16
#FEFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA78
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA78#FFFFFF#000000##000000
##FEFA781.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26B
Deuteranopia (green-blind)
#FFF77F
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa78;
/* rgb */ color: rgb(254, 250, 120);
/* oklch */ color: oklch(96.3% 0.152 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffba2',
    500: '#fefa78',
    950: '#000000',
  },
}
SCSS
$custom: #fefa78;
$custom-light: #fffba2;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa78",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 58.209,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.96309,
    "c": 0.15151,
    "h": 107.3
  },
  "luminance": 0.90798
}

Semantic roles & 50–950 ramp

primary
#FEFA78
secondary
#3F43DC
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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