#F4EF78#F4EF78

#F4EF78 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.2% C 0.141 H 106.7°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#F4EF78
RGBrgb(244, 239, 120)
HSLhsl(58, 85%, 71%)
HSVhsv(58, 51%, 96%)
CMYKcmyk(0%, 2%, 50.8%, 4.3%)
CIE-LABlab(92.72, -13.73, 57.47)
CIE-LCHlch(92.72, 59.09, 103.44°)
OKLaboklab(93.25% -0.0405 0.1353)
OKLCHoklch(93.25% 0.141 106.7)
XYZxyz(71.5668, 82.3242, 29.8859)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EF78 #787DF4
analogous
#F4B178 #F4EF78 #BBF478
triadic
#F4EF78 #78F4EF #EF78F4
tetradic
#F4EF78 #78F4B1 #787DF4 #F478BB
square
#F4EF78 #78F4B1 #787DF4 #F478BB
split-complementary
#F4EF78 #78BBF4 #B178F4
monochromatic
#DFD712 #EFE83F #F4EF78 #F9F6B1 #FDFCE3

Accessibility & contrast

On white

1.20
#F4EF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#F4EF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EF78
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EF78#FFFFFF#000000##000000
##F4EF781.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FFEC7E
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f4ef78;
/* rgb */ color: rgb(244, 239, 120);
/* oklch */ color: oklch(93.2% 0.141 106.7);
Tailwind
colors: {
  custom: {
    50: '#faf4a2',
    500: '#f4ef78',
    950: '#000000',
  },
}
SCSS
$custom: #f4ef78;
$custom-light: #faf4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ef78",
  "rgb": {
    "r": 244,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 57.581,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93246,
    "c": 0.1412,
    "h": 106.7
  },
  "luminance": 0.82322
}

Semantic roles & 50–950 ramp

primary
#F4EF78
secondary
#4147CF
accent
#0DE104
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F4EF78

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

Preview Lab → · Contrast checker → · Palette generator →

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