#F5EA78#F5EA78

#F5EA78 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.3% C 0.136 H 103.7°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#F5EA78
RGBrgb(245, 234, 120)
HSLhsl(55, 86%, 72%)
HSVhsv(55, 51%, 96%)
CMYKcmyk(0%, 4.5%, 51%, 3.9%)
CIE-LABlab(91.51, -10.87, 56.07)
CIE-LCHlch(91.51, 57.11, 100.97°)
OKLaboklab(92.31% -0.0323 0.1322)
OKLCHoklch(92.31% 0.136 103.7)
XYZxyz(70.4712, 79.6164, 29.4210)
Luminance0.7961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA78 #7883F5
analogous
#F5AC78 #F5EA78 #C2F578
triadic
#F5EA78 #78F5EA #EA78F5
tetradic
#F5EA78 #78F5AC #7883F5 #F578C2
square
#F5EA78 #78F5AC #7883F5 #F578C2
split-complementary
#F5EA78 #78C2F5 #AC78F5
monochromatic
#E2CF11 #F1E13F #F5EA78 #F9F3B1 #FDFBE3

Accessibility & contrast

On white

1.24
#F5EA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#F5EA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA78
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA78#FFFFFF#000000##000000
##F5EA781.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36E
Deuteranopia (green-blind)
#FFE97D
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5ea78;
/* rgb */ color: rgb(245, 234, 120);
/* oklch */ color: oklch(92.3% 0.136 103.7);
Tailwind
colors: {
  custom: {
    50: '#fbf0a2',
    500: '#f5ea78',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea78;
$custom-light: #fbf0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea78",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 120
  },
  "hsl": {
    "h": 54.72,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92307,
    "c": 0.13611,
    "h": 103.7
  },
  "luminance": 0.79614
}

Semantic roles & 50–950 ramp

primary
#F5EA78
secondary
#414ED0
accent
#16E303
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EA78

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

Preview Lab → · Contrast checker → · Palette generator →

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