#F5DE66#F5DE66

#F5DE66 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.7% C 0.141 H 98.6°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#F5DE66
RGBrgb(245, 222, 102)
HSLhsl(50, 88%, 68%)
HSVhsv(50, 58%, 96%)
CMYKcmyk(0%, 9.4%, 58.4%, 3.9%)
CIE-LABlab(88.26, -6.26, 60.49)
CIE-LCHlch(88.26, 60.81, 95.90°)
OKLaboklab(89.67% -0.0211 0.1399)
OKLCHoklch(89.67% 0.141 98.6)
XYZxyz(66.1783, 72.6172, 23.0984)
Luminance0.7261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE66 #667DF5
analogous
#F59766 #F5DE66 #C4F566
triadic
#F5DE66 #66F5DE #DE66F5
tetradic
#F5DE66 #66F597 #667DF5 #F566C4
square
#F5DE66 #66F597 #667DF5 #F566C4
split-complementary
#F5DE66 #66C4F5 #9766F5
monochromatic
#D3B30E #F1D22D #F5DE66 #F9EA9F #FDF7D9

Accessibility & contrast

On white

1.35
#F5DE66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#F5DE66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE66
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE66#FFFFFF#000000##000000
##F5DE661.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D95A
Deuteranopia (green-blind)
#F7E16C
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5de66;
/* rgb */ color: rgb(245, 222, 102);
/* oklch */ color: oklch(89.7% 0.141 98.6);
Tailwind
colors: {
  custom: {
    50: '#fbe895',
    500: '#f5de66',
    950: '#000000',
  },
}
SCSS
$custom: #f5de66;
$custom-light: #fbe895;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de66",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 102
  },
  "hsl": {
    "h": 50.35,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89671,
    "c": 0.14143,
    "h": 98.6
  },
  "luminance": 0.72614
}

Semantic roles & 50–950 ramp

primary
#F5DE66
secondary
#314BCE
accent
#26E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DE66

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

Preview Lab → · Contrast checker → · Palette generator →

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