#F5D466#F5D466

#F5D466 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.7% C 0.134 H 92.8°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#F5D466
RGBrgb(245, 212, 102)
HSLhsl(46, 88%, 68%)
HSVhsv(46, 58%, 96%)
CMYKcmyk(0%, 13.5%, 58.4%, 3.9%)
CIE-LABlab(85.74, -1.19, 57.62)
CIE-LCHlch(85.74, 57.64, 91.18°)
OKLaboklab(87.67% -0.0065 0.1337)
OKLCHoklch(87.67% 0.134 92.8)
XYZxyz(63.6007, 67.4619, 22.2392)
Luminance0.6746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D466 #6687F5
analogous
#F58C66 #F5D466 #CEF566
triadic
#F5D466 #66F5D4 #D466F5
tetradic
#F5D466 #66F58C #6687F5 #F566CE
square
#F5D466 #66F58C #6687F5 #F566CE
split-complementary
#F5D466 #66CEF5 #8C66F5
monochromatic
#D3A50E #F1C42D #F5D466 #F9E49F #FDF4D9

Accessibility & contrast

On white

1.45
#F5D466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#F5D466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D466
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D466#FFFFFF#000000##000000
##F5D4661.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#F0DB6B
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f5d466;
/* rgb */ color: rgb(245, 212, 102);
/* oklch */ color: oklch(87.7% 0.134 92.8);
Tailwind
colors: {
  custom: {
    50: '#fbe095',
    500: '#f5d466',
    950: '#000000',
  },
}
SCSS
$custom: #f5d466;
$custom-light: #fbe095;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d466",
  "rgb": {
    "r": 245,
    "g": 212,
    "b": 102
  },
  "hsl": {
    "h": 46.154,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87671,
    "c": 0.13387,
    "h": 92.8
  },
  "luminance": 0.67459
}

Semantic roles & 50–950 ramp

primary
#F5D466
secondary
#3155CE
accent
#36E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D466

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

Preview Lab → · Contrast checker → · Palette generator →

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