#F5E679#F5E679

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

Color values

HEX#F5E679
RGBrgb(245, 230, 121)
HSLhsl(53, 86%, 72%)
HSVhsv(53, 51%, 96%)
CMYKcmyk(0%, 6.1%, 50.6%, 3.9%)
CIE-LABlab(90.50, -8.80, 54.40)
CIE-LCHlch(90.50, 55.11, 99.19°)
OKLaboklab(91.51% -0.0263 0.1287)
OKLCHoklch(91.51% 0.131 101.6)
XYZxyz(69.4063, 77.3890, 29.3670)
Luminance0.7739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E679 #7988F5
analogous
#F5A879 #F5E679 #C6F579
triadic
#F5E679 #79F5E6 #E679F5
tetradic
#F5E679 #79F5A8 #7988F5 #F579C6
square
#F5E679 #79F5A8 #7988F5 #F579C6
split-complementary
#F5E679 #79C6F5 #A879F5
monochromatic
#E3C911 #F1DB40 #F5E679 #F9F1B2 #FDFAE3

Accessibility & contrast

On white

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

On black

16.48
#F5E679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E679
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E679#FFFFFF#000000##000000
##F5E6791.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e679;
/* rgb */ color: rgb(245, 230, 121);
/* oklch */ color: oklch(91.5% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#fbeda2',
    500: '#f5e679',
    950: '#000000',
  },
}
SCSS
$custom: #f5e679;
$custom-light: #fbeda2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e679",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 121
  },
  "hsl": {
    "h": 52.742,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91507,
    "c": 0.13132,
    "h": 101.6
  },
  "luminance": 0.77387
}

Semantic roles & 50–950 ramp

primary
#F5E679
secondary
#4253D0
accent
#1EE303
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E679

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

Preview Lab → · Contrast checker → · Palette generator →

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