#F6E766#F6E766

#F6E766 is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.6% C 0.149 H 102.7°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#F6E766
RGBrgb(246, 231, 102)
HSLhsl(54, 89%, 68%)
HSVhsv(54, 59%, 96%)
CMYKcmyk(0%, 6.1%, 58.5%, 3.5%)
CIE-LABlab(90.65, -10.34, 63.17)
CIE-LCHlch(90.65, 64.01, 99.30°)
OKLaboklab(91.58% -0.0328 0.1456)
OKLCHoklch(91.58% 0.149 102.7)
XYZxyz(68.9827, 77.7065, 23.9330)
Luminance0.7770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E766 #6675F6
analogous
#F69F66 #F6E766 #BDF666
triadic
#F6E766 #66F6E7 #E766F6
tetradic
#F6E766 #66F69F #6675F6 #F666BD
square
#F6E766 #66F69F #6675F6 #F666BD
split-complementary
#F6E766 #66BDF6 #9F66F6
monochromatic
#D5C00D #F3DE2C #F6E766 #F9F0A0 #FDF9DA

Accessibility & contrast

On white

1.27
#F6E766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#F6E766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E766
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E766#FFFFFF#000000##000000
##F6E7661.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE058
Deuteranopia (green-blind)
#FFE76D
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f6e766;
/* rgb */ color: rgb(246, 231, 102);
/* oklch */ color: oklch(91.6% 0.149 102.7);
Tailwind
colors: {
  custom: {
    50: '#fcee96',
    500: '#f6e766',
    950: '#000000',
  },
}
SCSS
$custom: #f6e766;
$custom-light: #fcee96;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e766",
  "rgb": {
    "r": 246,
    "g": 231,
    "b": 102
  },
  "hsl": {
    "h": 53.75,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.9158,
    "c": 0.14923,
    "h": 102.7
  },
  "luminance": 0.77704
}

Semantic roles & 50–950 ramp

primary
#F6E766
secondary
#3142CF
accent
#18E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E766

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

Preview Lab → · Contrast checker → · Palette generator →

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