#FFEF78#FFEF78

#FFEF78 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.2% C 0.141 H 101.7°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#FFEF78
RGBrgb(255, 239, 120)
HSLhsl(53, 100%, 74%)
HSVhsv(53, 53%, 100%)
CMYKcmyk(0%, 6.3%, 52.9%, 0%)
CIE-LABlab(93.60, -9.37, 58.73)
CIE-LCHlch(93.60, 59.47, 99.06°)
OKLaboklab(94.16% -0.0286 0.1378)
OKLCHoklch(94.16% 0.141 101.7)
XYZxyz(75.4991, 84.3518, 30.0702)
Luminance0.8435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF78 #7888FF
analogous
#FFAB78 #FFEF78 #CBFF78
triadic
#FFEF78 #78FFEF #EF78FF
tetradic
#FFEF78 #78FFAB #7888FF #FF78CB
square
#FFEF78 #78FFAB #7888FF #FF78CB
split-complementary
#FFEF78 #78CBFF #AB78FF
monochromatic
#FDDF00 #FFE83B #FFEF78 #FFF6B5 #FFFBE0

Accessibility & contrast

On white

1.18
#FFEF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#FFEF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF78
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF78#FFFFFF#000000##000000
##FFEF781.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96D
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef78;
/* rgb */ color: rgb(255, 239, 120);
/* oklch */ color: oklch(94.2% 0.141 101.7);
Tailwind
colors: {
  custom: {
    50: '#fff4a2',
    500: '#ffef78',
    950: '#000000',
  },
}
SCSS
$custom: #ffef78;
$custom-light: #fff4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef78",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 52.889,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94163,
    "c": 0.14076,
    "h": 101.7
  },
  "luminance": 0.84349
}

Semantic roles & 50–950 ramp

primary
#FFEF78
secondary
#3E51DD
accent
#1BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFEF78

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

Preview Lab → · Contrast checker → · Palette generator →

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