#F7F666#F7F666

#F7F666 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.7% C 0.164 H 108.8°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#F7F666
RGBrgb(247, 246, 102)
HSLhsl(60, 90%, 68%)
HSVhsv(60, 59%, 97%)
CMYKcmyk(0%, 0.4%, 58.7%, 3.1%)
CIE-LABlab(94.59, -17.29, 67.54)
CIE-LCHlch(94.59, 69.72, 104.36°)
OKLaboklab(94.74% -0.0526 0.1548)
OKLCHoklch(94.74% 0.164 108.8)
XYZxyz(73.7140, 86.6470, 25.4093)
Luminance0.8665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F666 #6667F7
analogous
#F7AD66 #F7F666 #AFF766
triadic
#F7F666 #66F7F6 #F666F7
tetradic
#F7F666 #66F7AD #6667F7 #F766AF
square
#F7F666 #66F7AD #6667F7 #F766AF
split-complementary
#F7F666 #66AFF7 #AD66F7
monochromatic
#D7D60B #F4F32C #F7F666 #FAF9A0 #FDFDDA

Accessibility & contrast

On white

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

On black

18.33
#F7F666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F666
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F666#FFFFFF#000000##000000
##F7F6661.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f666;
/* rgb */ color: rgb(247, 246, 102);
/* oklch */ color: oklch(94.7% 0.164 108.8);
Tailwind
colors: {
  custom: {
    50: '#fdf897',
    500: '#f7f666',
    950: '#000000',
  },
}
SCSS
$custom: #f7f666;
$custom-light: #fdf897;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f666",
  "rgb": {
    "r": 247,
    "g": 246,
    "b": 102
  },
  "hsl": {
    "h": 59.586,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94737,
    "c": 0.16354,
    "h": 108.8
  },
  "luminance": 0.86645
}

Semantic roles & 50–950 ramp

primary
#F7F666
secondary
#3132D0
accent
#02E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F666

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

Preview Lab → · Contrast checker → · Palette generator →

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