#F6D866#F6D866

#F6D866 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.6% C 0.137 H 94.7°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#F6D866
RGBrgb(246, 216, 102)
HSLhsl(48, 89%, 68%)
HSVhsv(48, 59%, 96%)
CMYKcmyk(0%, 12.2%, 58.5%, 3.5%)
CIE-LABlab(86.83, -2.81, 58.89)
CIE-LCHlch(86.83, 58.96, 92.74°)
OKLaboklab(88.56% -0.0112 0.1364)
OKLCHoklch(88.56% 0.137 94.7)
XYZxyz(64.9629, 69.6670, 22.5930)
Luminance0.6966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D866 #6684F6
analogous
#F69066 #F6D866 #CCF666
triadic
#F6D866 #66F6D8 #D866F6
tetradic
#F6D866 #66F690 #6684F6 #F666CC
square
#F6D866 #66F690 #6684F6 #F666CC
split-complementary
#F6D866 #66CCF6 #9066F6
monochromatic
#D5AB0D #F3C92C #F6D866 #F9E7A0 #FDF5DA

Accessibility & contrast

On white

1.41
#F6D866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#F6D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D866
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D866#FFFFFF#000000##000000
##F6D8661.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45A
Deuteranopia (green-blind)
#F3DD6B
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f6d866;
/* rgb */ color: rgb(246, 216, 102);
/* oklch */ color: oklch(88.6% 0.137 94.7);
Tailwind
colors: {
  custom: {
    50: '#fce395',
    500: '#f6d866',
    950: '#000000',
  },
}
SCSS
$custom: #f6d866;
$custom-light: #fce395;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d866",
  "rgb": {
    "r": 246,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 47.5,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88559,
    "c": 0.13688,
    "h": 94.7
  },
  "luminance": 0.69664
}

Semantic roles & 50–950 ramp

primary
#F6D866
secondary
#3152CF
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6D866

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

Preview Lab → · Contrast checker → · Palette generator →

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