#F5E678#F5E678

#F5E678 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.5% C 0.132 H 101.6°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#F5E678
RGBrgb(245, 230, 120)
HSLhsl(53, 86%, 72%)
HSVhsv(53, 51%, 96%)
CMYKcmyk(0%, 6.1%, 51%, 3.9%)
CIE-LABlab(90.49, -8.88, 54.85)
CIE-LCHlch(90.49, 55.57, 99.20°)
OKLaboklab(91.5% -0.0266 0.1296)
OKLCHoklch(91.5% 0.132 101.6)
XYZxyz(69.3453, 77.3646, 29.0457)
Luminance0.7736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E678 #7887F5
analogous
#F5A878 #F5E678 #C6F578
triadic
#F5E678 #78F5E6 #E678F5
tetradic
#F5E678 #78F5A8 #7887F5 #F578C6
square
#F5E678 #78F5A8 #7887F5 #F578C6
split-complementary
#F5E678 #78C6F5 #A878F5
monochromatic
#E2C911 #F1DB3F #F5E678 #F9F1B1 #FDFAE3

Accessibility & contrast

On white

1.27
#F5E678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#F5E678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E678
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E678#FFFFFF#000000##000000
##F5E6781.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06E
Deuteranopia (green-blind)
#FCE77D
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e678;
/* rgb */ color: rgb(245, 230, 120);
/* oklch */ color: oklch(91.5% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#fbeda1',
    500: '#f5e678',
    950: '#000000',
  },
}
SCSS
$custom: #f5e678;
$custom-light: #fbeda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e678",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 120
  },
  "hsl": {
    "h": 52.8,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91495,
    "c": 0.13227,
    "h": 101.6
  },
  "luminance": 0.77362
}

Semantic roles & 50–950 ramp

primary
#F5E678
secondary
#4152D0
accent
#1EE303
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E678

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

Preview Lab → · Contrast checker → · Palette generator →

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