#F6F766#F6F766

#F6F766 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.9% C 0.165 H 109.5°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#F6F766
RGBrgb(246, 247, 102)
HSLhsl(60, 90%, 68%)
HSVhsv(60, 59%, 97%)
CMYKcmyk(0.4%, 0%, 58.7%, 3.1%)
CIE-LABlab(94.77, -18.17, 67.71)
CIE-LCHlch(94.77, 70.11, 105.02°)
OKLaboklab(94.86% -0.0551 0.1552)
OKLCHoklch(94.86% 0.165 109.5)
XYZxyz(73.6672, 87.0756, 25.4945)
Luminance0.8707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F766 #6766F7
analogous
#F7AF66 #F6F766 #ADF766
triadic
#F6F766 #66F6F7 #F766F6
tetradic
#F6F766 #66F7AF #6766F7 #F766AD
square
#F6F766 #66F7AF #6766F7 #F766AD
split-complementary
#F6F766 #66ADF7 #AF66F7
monochromatic
#D6D70B #F3F42C #F6F766 #F9FAA0 #FDFDDA

Accessibility & contrast

On white

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

On black

18.41
#F6F766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F766
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F766#FFFFFF#000000##000000
##F6F7661.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF26F
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f6f766;
/* rgb */ color: rgb(246, 247, 102);
/* oklch */ color: oklch(94.9% 0.165 109.5);
Tailwind
colors: {
  custom: {
    50: '#fcf997',
    500: '#f6f766',
    950: '#000000',
  },
}
SCSS
$custom: #f6f766;
$custom-light: #fcf997;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f766",
  "rgb": {
    "r": 246,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 60.414,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94864,
    "c": 0.16472,
    "h": 109.5
  },
  "luminance": 0.87074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F6F766

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

Preview Lab → · Contrast checker → · Palette generator →

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