#F5F66C#F5F66C

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

Color values

HEX#F5F66C
RGBrgb(245, 246, 108)
HSLhsl(60, 88%, 69%)
HSVhsv(60, 56%, 96%)
CMYKcmyk(0.4%, 0%, 56.1%, 3.5%)
CIE-LABlab(94.49, -17.67, 64.84)
CIE-LCHlch(94.49, 67.21, 105.25°)
OKLaboklab(94.64% -0.053 0.1499)
OKLCHoklch(94.64% 0.159 109.5)
XYZxyz(73.3207, 86.4086, 27.0006)
Luminance0.8641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F66C #6D6CF6
analogous
#F6B26C #F5F66C #B0F66C
triadic
#F5F66C #6CF5F6 #F66CF5
tetradic
#F5F66C #6CF6B2 #6D6CF6 #F66CB0
square
#F5F66C #6CF6B2 #6D6CF6 #F66CB0
split-complementary
#F5F66C #6CB0F6 #B26CF6
monochromatic
#D9DA0D #F1F232 #F5F66C #F9FAA6 #FDFDDF

Accessibility & contrast

On white

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

On black

18.28
#F5F66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F66C
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F66C#FFFFFF#000000##000000
##F5F66C1.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f66c;
/* rgb */ color: rgb(245, 246, 108);
/* oklch */ color: oklch(94.6% 0.159 109.5);
Tailwind
colors: {
  custom: {
    50: '#fbf99b',
    500: '#f5f66c',
    950: '#000000',
  },
}
SCSS
$custom: #f5f66c;
$custom-light: #fbf99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f66c",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 108
  },
  "hsl": {
    "h": 60.435,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94636,
    "c": 0.15896,
    "h": 109.5
  },
  "luminance": 0.86407
}

Semantic roles & 50–950 ramp

primary
#F5F66C
secondary
#3736D0
accent
#00E502
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F66C

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

Preview Lab → · Contrast checker → · Palette generator →

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