#F7F66C#F7F66C

#F7F66C is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.8% C 0.159 H 108.7°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#F7F66C
RGBrgb(247, 246, 108)
HSLhsl(60, 90%, 70%)
HSVhsv(60, 56%, 97%)
CMYKcmyk(0%, 0.4%, 56.3%, 3.1%)
CIE-LABlab(94.64, -16.88, 65.06)
CIE-LCHlch(94.64, 67.21, 104.54°)
OKLaboklab(94.8% -0.0508 0.1503)
OKLCHoklch(94.8% 0.159 108.7)
XYZxyz(74.0224, 86.7704, 27.0335)
Luminance0.8677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F66C #6C6DF7
analogous
#F7B06C #F7F66C #B3F76C
triadic
#F7F66C #6CF7F6 #F66CF7
tetradic
#F7F66C #6CF7B0 #6C6DF7 #F76CB3
square
#F7F66C #6CF7B0 #6C6DF7 #F76CB3
split-complementary
#F7F66C #6CB3F7 #B06CF7
monochromatic
#DDDB0C #F4F232 #F7F66C #FAFAA6 #FDFDE0

Accessibility & contrast

On white

1.14
#F7F66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#F7F66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F66C
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F66C#FFFFFF#000000##000000
##F7F66C1.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f66c;
/* rgb */ color: rgb(247, 246, 108);
/* oklch */ color: oklch(94.8% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#fdf99b',
    500: '#f7f66c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f66c;
$custom-light: #fdf99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f66c",
  "rgb": {
    "r": 247,
    "g": 246,
    "b": 108
  },
  "hsl": {
    "h": 59.568,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94796,
    "c": 0.15866,
    "h": 108.7
  },
  "luminance": 0.86768
}

Semantic roles & 50–950 ramp

primary
#F7F66C
secondary
#3637D1
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F66C

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

Preview Lab → · Contrast checker → · Palette generator →

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