#F5EB78#F5EB78

#F5EB78 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.5% C 0.137 H 104.3°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#F5EB78
RGBrgb(245, 235, 120)
HSLhsl(55, 86%, 72%)
HSVhsv(55, 51%, 96%)
CMYKcmyk(0%, 4.1%, 51%, 3.9%)
CIE-LABlab(91.77, -11.37, 56.37)
CIE-LCHlch(91.77, 57.50, 101.40°)
OKLaboklab(92.51% -0.0338 0.1329)
OKLCHoklch(92.51% 0.137 104.3)
XYZxyz(70.7567, 80.1874, 29.5162)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EB78 #7882F5
analogous
#F5AD78 #F5EB78 #C1F578
triadic
#F5EB78 #78F5EB #EB78F5
tetradic
#F5EB78 #78F5AD #7882F5 #F578C1
square
#F5EB78 #78F5AD #7882F5 #F578C1
split-complementary
#F5EB78 #78C1F5 #AD78F5
monochromatic
#E2D111 #F1E33F #F5EB78 #F9F3B1 #FDFBE3

Accessibility & contrast

On white

1.23
#F5EB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#F5EB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EB78
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EB78#FFFFFF#000000##000000
##F5EB781.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46D
Deuteranopia (green-blind)
#FFEA7E
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5eb78;
/* rgb */ color: rgb(245, 235, 120);
/* oklch */ color: oklch(92.5% 0.137 104.3);
Tailwind
colors: {
  custom: {
    50: '#fbf1a2',
    500: '#f5eb78',
    950: '#000000',
  },
}
SCSS
$custom: #f5eb78;
$custom-light: #fbf1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5eb78",
  "rgb": {
    "r": 245,
    "g": 235,
    "b": 120
  },
  "hsl": {
    "h": 55.2,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92511,
    "c": 0.13709,
    "h": 104.3
  },
  "luminance": 0.80185
}

Semantic roles & 50–950 ramp

primary
#F5EB78
secondary
#414DD0
accent
#15E303
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EB78

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

Preview Lab → · Contrast checker → · Palette generator →

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