#F5ED66#F5ED66

#F5ED66 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.7% C 0.155 H 105.9°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#F5ED66
RGBrgb(245, 237, 102)
HSLhsl(57, 88%, 68%)
HSVhsv(57, 58%, 96%)
CMYKcmyk(0%, 3.3%, 58.4%, 3.9%)
CIE-LABlab(92.11, -13.71, 64.77)
CIE-LCHlch(92.11, 66.20, 101.95°)
OKLaboklab(92.72% -0.0424 0.149)
OKLCHoklch(92.72% 0.155 105.9)
XYZxyz(70.3409, 80.9424, 24.4860)
Luminance0.8094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED66 #666EF5
analogous
#F5A566 #F5ED66 #B6F566
triadic
#F5ED66 #66F5ED #ED66F5
tetradic
#F5ED66 #66F5A5 #666EF5 #F566B6
square
#F5ED66 #66F5A5 #666EF5 #F566B6
split-complementary
#F5ED66 #66B6F5 #A566F5
monochromatic
#D3C80E #F1E62D #F5ED66 #F9F49F #FDFBD9

Accessibility & contrast

On white

1.22
#F5ED66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#F5ED66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED66
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED66#FFFFFF#000000##000000
##F5ED661.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FFEB6D
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ed66;
/* rgb */ color: rgb(245, 237, 102);
/* oklch */ color: oklch(92.7% 0.155 105.9);
Tailwind
colors: {
  custom: {
    50: '#fbf296',
    500: '#f5ed66',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed66;
$custom-light: #fbf296;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed66",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 102
  },
  "hsl": {
    "h": 56.643,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92722,
    "c": 0.15489,
    "h": 105.9
  },
  "luminance": 0.8094
}

Semantic roles & 50–950 ramp

primary
#F5ED66
secondary
#313ACE
accent
#0EE401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5ED66

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

Preview Lab → · Contrast checker → · Palette generator →

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