#F5F666#F5F666

#F5F666 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.6% C 0.164 H 109.5°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#F5F666
RGBrgb(245, 246, 102)
HSLhsl(60, 89%, 68%)
HSVhsv(60, 59%, 96%)
CMYKcmyk(0.4%, 0%, 58.5%, 3.5%)
CIE-LABlab(94.43, -18.09, 67.32)
CIE-LCHlch(94.43, 69.71, 105.04°)
OKLaboklab(94.58% -0.0548 0.1544)
OKLCHoklch(94.58% 0.164 109.5)
XYZxyz(73.0123, 86.2852, 25.3764)
Luminance0.8628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F666 #6766F6
analogous
#F6AF66 #F5F666 #ADF666
triadic
#F5F666 #66F5F6 #F666F5
tetradic
#F5F666 #66F6AF #6766F6 #F666AD
square
#F5F666 #66F6AF #6766F6 #F666AD
split-complementary
#F5F666 #66ADF6 #AF66F6
monochromatic
#D4D50D #F1F32C #F5F666 #F9F9A0 #FDFDDA

Accessibility & contrast

On white

1.15
#F5F666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#F5F666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F666
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F666#FFFFFF#000000##000000
##F5F6661.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC55
Deuteranopia (green-blind)
#FFF16F
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f666;
/* rgb */ color: rgb(245, 246, 102);
/* oklch */ color: oklch(94.6% 0.164 109.5);
Tailwind
colors: {
  custom: {
    50: '#fbf997',
    500: '#f5f666',
    950: '#000000',
  },
}
SCSS
$custom: #f5f666;
$custom-light: #fbf997;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f666",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 102
  },
  "hsl": {
    "h": 60.417,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.94577,
    "c": 0.16386,
    "h": 109.5
  },
  "luminance": 0.86283
}

Semantic roles & 50–950 ramp

primary
#F5F666
secondary
#3231CF
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F666

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

Preview Lab → · Contrast checker → · Palette generator →

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