#F5D666#F5D666

#F5D666 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.135 H 94.0°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#F5D666
RGBrgb(245, 214, 102)
HSLhsl(47, 88%, 68%)
HSVhsv(47, 58%, 96%)
CMYKcmyk(0%, 12.7%, 58.4%, 3.9%)
CIE-LABlab(86.24, -2.21, 58.20)
CIE-LCHlch(86.24, 58.24, 92.17°)
OKLaboklab(88.07% -0.0094 0.1349)
OKLCHoklch(88.07% 0.135 94)
XYZxyz(64.1037, 68.4680, 22.4069)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D666 #6685F5
analogous
#F58E66 #F5D666 #CCF566
triadic
#F5D666 #66F5D6 #D666F5
tetradic
#F5D666 #66F58E #6685F5 #F566CC
square
#F5D666 #66F58E #6685F5 #F566CC
split-complementary
#F5D666 #66CCF5 #8E66F5
monochromatic
#D3A80E #F1C72D #F5D666 #F9E59F #FDF5D9

Accessibility & contrast

On white

1.43
#F5D666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#F5D666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D666
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D666#FFFFFF#000000##000000
##F5D6661.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD25B
Deuteranopia (green-blind)
#F2DC6B
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d666;
/* rgb */ color: rgb(245, 214, 102);
/* oklch */ color: oklch(88.1% 0.135 94.0);
Tailwind
colors: {
  custom: {
    50: '#fbe295',
    500: '#f5d666',
    950: '#000000',
  },
}
SCSS
$custom: #f5d666;
$custom-light: #fbe295;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d666",
  "rgb": {
    "r": 245,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 46.993,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88069,
    "c": 0.13527,
    "h": 94
  },
  "luminance": 0.68465
}

Semantic roles & 50–950 ramp

primary
#F5D666
secondary
#3153CE
accent
#32E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D666

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

Preview Lab → · Contrast checker → · Palette generator →

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