#F5E566#F5E566

#F5E566 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.1% C 0.147 H 102.2°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#F5E566
RGBrgb(245, 229, 102)
HSLhsl(53, 88%, 68%)
HSVhsv(53, 58%, 96%)
CMYKcmyk(0%, 6.5%, 58.4%, 3.9%)
CIE-LABlab(90.05, -9.76, 62.49)
CIE-LCHlch(90.05, 63.24, 98.87°)
OKLaboklab(91.09% -0.0311 0.1441)
OKLCHoklch(91.09% 0.147 102.2)
XYZxyz(68.0762, 76.4130, 23.7311)
Luminance0.7641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E566 #6676F5
analogous
#F59E66 #F5E566 #BDF566
triadic
#F5E566 #66F5E5 #E566F5
tetradic
#F5E566 #66F59E #6676F5 #F566BD
square
#F5E566 #66F59E #6676F5 #F566BD
split-complementary
#F5E566 #66BDF5 #9E66F5
monochromatic
#D3BD0E #F1DB2D #F5E566 #F9EF9F #FDF9D9

Accessibility & contrast

On white

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

On black

16.28
#F5E566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E566
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E566#FFFFFF#000000##000000
##F5E5661.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE58
Deuteranopia (green-blind)
#FDE66D
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e566;
/* rgb */ color: rgb(245, 229, 102);
/* oklch */ color: oklch(91.1% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#fbec96',
    500: '#f5e566',
    950: '#000000',
  },
}
SCSS
$custom: #f5e566;
$custom-light: #fbec96;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e566",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 102
  },
  "hsl": {
    "h": 53.287,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91088,
    "c": 0.14745,
    "h": 102.2
  },
  "luminance": 0.7641
}

Semantic roles & 50–950 ramp

primary
#F5E566
secondary
#3143CE
accent
#1BE401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E566

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

Preview Lab → · Contrast checker → · Palette generator →

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