#F5E571#F5E571

#F5E571 is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.2% C 0.138 H 101.5°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#F5E571
RGBrgb(245, 229, 113)
HSLhsl(53, 87%, 70%)
HSVhsv(53, 54%, 96%)
CMYKcmyk(0%, 6.5%, 53.9%, 3.9%)
CIE-LABlab(90.16, -8.95, 57.70)
CIE-LCHlch(90.16, 58.39, 98.82°)
OKLaboklab(91.21% -0.0276 0.1351)
OKLCHoklch(91.21% 0.138 101.5)
XYZxyz(68.6584, 76.6459, 26.7971)
Luminance0.7664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E571 #7181F5
analogous
#F5A371 #F5E571 #C3F571
triadic
#F5E571 #71F5E5 #E571F5
tetradic
#F5E571 #71F5A3 #7181F5 #F571C3
square
#F5E571 #71F5A3 #7181F5 #F571C3
split-complementary
#F5E571 #71C3F5 #A371F5
monochromatic
#DCC310 #F1DB38 #F5E571 #F9EFAA #FDFAE2

Accessibility & contrast

On white

1.29
#F5E571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#F5E571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E571
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E571#FFFFFF#000000##000000
##F5E5711.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF66
Deuteranopia (green-blind)
#FCE677
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e571;
/* rgb */ color: rgb(245, 229, 113);
/* oklch */ color: oklch(91.2% 0.138 101.5);
Tailwind
colors: {
  custom: {
    50: '#fbed9d',
    500: '#f5e571',
    950: '#000000',
  },
}
SCSS
$custom: #f5e571;
$custom-light: #fbed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e571",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 113
  },
  "hsl": {
    "h": 52.727,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91208,
    "c": 0.13786,
    "h": 101.5
  },
  "luminance": 0.76643
}

Semantic roles & 50–950 ramp

primary
#F5E571
secondary
#3B4DCF
accent
#1DE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E571

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

Preview Lab → · Contrast checker → · Palette generator →

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