#F5F466#F5F466

#F5F466 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.2% C 0.162 H 108.8°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#F5F466
RGBrgb(245, 244, 102)
HSLhsl(60, 88%, 68%)
HSVhsv(60, 58%, 96%)
CMYKcmyk(0%, 0.4%, 58.4%, 3.9%)
CIE-LABlab(93.92, -17.12, 66.76)
CIE-LCHlch(93.92, 68.92, 104.39°)
OKLaboklab(94.16% -0.052 0.1532)
OKLCHoklch(94.16% 0.162 108.8)
XYZxyz(72.4073, 85.0752, 25.1747)
Luminance0.8507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F466 #6667F5
analogous
#F5AC66 #F5F466 #AFF566
triadic
#F5F466 #66F5F4 #F466F5
tetradic
#F5F466 #66F5AC #6667F5 #F566AF
square
#F5F466 #66F5AC #6667F5 #F566AF
split-complementary
#F5F466 #66AFF5 #AC66F5
monochromatic
#D3D10E #F1F02D #F5F466 #F9F89F #FDFCD9

Accessibility & contrast

On white

1.17
#F5F466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#F5F466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F466
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F466#FFFFFF#000000##000000
##F5F4661.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFF06E
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f466;
/* rgb */ color: rgb(245, 244, 102);
/* oklch */ color: oklch(94.2% 0.162 108.8);
Tailwind
colors: {
  custom: {
    50: '#fbf797',
    500: '#f5f466',
    950: '#000000',
  },
}
SCSS
$custom: #f5f466;
$custom-light: #fbf797;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f466",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 102
  },
  "hsl": {
    "h": 59.58,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94163,
    "c": 0.16182,
    "h": 108.8
  },
  "luminance": 0.85073
}

Semantic roles & 50–950 ramp

primary
#F5F466
secondary
#3132CE
accent
#03E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F466

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

Preview Lab → · Contrast checker → · Palette generator →

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