#F7F566#F7F566

#F7F566 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.5% C 0.163 H 108.4°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#F7F566
RGBrgb(247, 245, 102)
HSLhsl(59, 90%, 68%)
HSVhsv(59, 59%, 97%)
CMYKcmyk(0%, 0.8%, 58.7%, 3.1%)
CIE-LABlab(94.33, -16.81, 67.25)
CIE-LCHlch(94.33, 69.32, 104.03°)
OKLaboklab(94.53% -0.0513 0.1542)
OKLCHoklch(94.53% 0.163 108.4)
XYZxyz(73.4107, 86.0404, 25.3082)
Luminance0.8604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F566 #6668F7
analogous
#F7AC66 #F7F566 #B1F766
triadic
#F7F566 #66F7F5 #F566F7
tetradic
#F7F566 #66F7AC #6668F7 #F766B1
square
#F7F566 #66F7AC #6668F7 #F766B1
split-complementary
#F7F566 #66B1F7 #AC66F7
monochromatic
#D7D50B #F4F12C #F7F566 #FAF9A0 #FDFDDA

Accessibility & contrast

On white

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

On black

18.21
#F7F566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F566
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F566#FFFFFF#000000##000000
##F7F5661.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC56
Deuteranopia (green-blind)
#FFF16E
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f566;
/* rgb */ color: rgb(247, 245, 102);
/* oklch */ color: oklch(94.5% 0.163 108.4);
Tailwind
colors: {
  custom: {
    50: '#fdf897',
    500: '#f7f566',
    950: '#000000',
  },
}
SCSS
$custom: #f7f566;
$custom-light: #fdf897;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f566",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 102
  },
  "hsl": {
    "h": 59.172,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94531,
    "c": 0.16253,
    "h": 108.4
  },
  "luminance": 0.86038
}

Semantic roles & 50–950 ramp

primary
#F7F566
secondary
#3133D0
accent
#03E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F566

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

Preview Lab → · Contrast checker → · Palette generator →

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