#F6D266#F6D266

#F6D266 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.4% C 0.133 H 91.0°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#F6D266
RGBrgb(246, 210, 102)
HSLhsl(45, 89%, 68%)
HSVhsv(45, 59%, 96%)
CMYKcmyk(0%, 14.6%, 58.5%, 3.5%)
CIE-LABlab(85.33, 0.24, 57.18)
CIE-LCHlch(85.33, 57.18, 89.76°)
OKLaboklab(87.37% -0.0024 0.1327)
OKLCHoklch(87.37% 0.133 91)
XYZxyz(63.4537, 66.6486, 22.0900)
Luminance0.6664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D266 #668AF6
analogous
#F68A66 #F6D266 #D2F666
triadic
#F6D266 #66F6D2 #D266F6
tetradic
#F6D266 #66F68A #668AF6 #F666D2
square
#F6D266 #66F68A #668AF6 #F666D2
split-complementary
#F6D266 #66D2F6 #8A66F6
monochromatic
#D5A30D #F3C12C #F6D266 #F9E3A0 #FDF4DA

Accessibility & contrast

On white

1.47
#F6D266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#F6D266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D266
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D266#FFFFFF#000000##000000
##F6D2661.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5B
Deuteranopia (green-blind)
#EFDA6A
Tritanopia (blue-blind)
#FFC3BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f6d266;
/* rgb */ color: rgb(246, 210, 102);
/* oklch */ color: oklch(87.4% 0.133 91.0);
Tailwind
colors: {
  custom: {
    50: '#fcdf95',
    500: '#f6d266',
    950: '#000000',
  },
}
SCSS
$custom: #f6d266;
$custom-light: #fcdf95;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d266",
  "rgb": {
    "r": 246,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 45,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87369,
    "c": 0.13276,
    "h": 91
  },
  "luminance": 0.66645
}

Semantic roles & 50–950 ramp

primary
#F6D266
secondary
#3159CF
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6D266

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

Preview Lab → · Contrast checker → · Palette generator →

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