#F6E166#F6E166

#F6E166 is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.4% C 0.144 H 99.7°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#F6E166
RGBrgb(246, 225, 102)
HSLhsl(51, 89%, 68%)
HSVhsv(51, 59%, 96%)
CMYKcmyk(0%, 8.5%, 58.5%, 3.5%)
CIE-LABlab(89.11, -7.35, 61.46)
CIE-LCHlch(89.11, 61.90, 96.82°)
OKLaboklab(90.36% -0.0243 0.1419)
OKLCHoklch(90.36% 0.144 99.7)
XYZxyz(67.3321, 74.4054, 23.3828)
Luminance0.7440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E166 #667BF6
analogous
#F69966 #F6E166 #C3F666
triadic
#F6E166 #66F6E1 #E166F6
tetradic
#F6E166 #66F699 #667BF6 #F666C3
square
#F6E166 #66F699 #667BF6 #F666C3
split-complementary
#F6E166 #66C3F6 #9966F6
monochromatic
#D5B80D #F3D62C #F6E166 #F9ECA0 #FDF8DA

Accessibility & contrast

On white

1.32
#F6E166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#F6E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E166
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E166#FFFFFF#000000##000000
##F6E1661.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB59
Deuteranopia (green-blind)
#FAE36C
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e166;
/* rgb */ color: rgb(246, 225, 102);
/* oklch */ color: oklch(90.4% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#fcea96',
    500: '#f6e166',
    950: '#000000',
  },
}
SCSS
$custom: #f6e166;
$custom-light: #fcea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e166",
  "rgb": {
    "r": 246,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 51.25,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90364,
    "c": 0.14398,
    "h": 99.7
  },
  "luminance": 0.74403
}

Semantic roles & 50–950 ramp

primary
#F6E166
secondary
#3148CF
accent
#21E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E166

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

Preview Lab → · Contrast checker → · Palette generator →

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