#F5DF66#F5DF66

#F5DF66 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.9% C 0.142 H 99.1°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#F5DF66
RGBrgb(245, 223, 102)
HSLhsl(51, 88%, 68%)
HSVhsv(51, 58%, 96%)
CMYKcmyk(0%, 9%, 58.4%, 3.9%)
CIE-LABlab(88.52, -6.76, 60.77)
CIE-LCHlch(88.52, 61.15, 96.35°)
OKLaboklab(89.87% -0.0225 0.1405)
OKLCHoklch(89.87% 0.142 99.1)
XYZxyz(66.4447, 73.1499, 23.1872)
Luminance0.7315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF66 #667CF5
analogous
#F59766 #F5DF66 #C4F566
triadic
#F5DF66 #66F5DF #DF66F5
tetradic
#F5DF66 #66F597 #667CF5 #F566C4
square
#F5DF66 #66F597 #667CF5 #F566C4
split-complementary
#F5DF66 #66C4F5 #9766F5
monochromatic
#D3B50E #F1D32D #F5DF66 #F9EB9F #FDF7D9

Accessibility & contrast

On white

1.34
#F5DF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#F5DF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF66
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF66#FFFFFF#000000##000000
##F5DF661.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA59
Deuteranopia (green-blind)
#F8E26C
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df66;
/* rgb */ color: rgb(245, 223, 102);
/* oklch */ color: oklch(89.9% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#fbe896',
    500: '#f5df66',
    950: '#000000',
  },
}
SCSS
$custom: #f5df66;
$custom-light: #fbe896;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df66",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 102
  },
  "hsl": {
    "h": 50.769,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89873,
    "c": 0.14225,
    "h": 99.1
  },
  "luminance": 0.73147
}

Semantic roles & 50–950 ramp

primary
#F5DF66
secondary
#3149CE
accent
#24E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DF66

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

Preview Lab → · Contrast checker → · Palette generator →

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