#F6E266#F6E266

#F6E266 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.6% C 0.145 H 100.2°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#F6E266
RGBrgb(246, 226, 102)
HSLhsl(52, 89%, 68%)
HSVhsv(52, 59%, 96%)
CMYKcmyk(0%, 8.1%, 58.5%, 3.5%)
CIE-LABlab(89.37, -7.85, 61.75)
CIE-LCHlch(89.37, 62.24, 97.25°)
OKLaboklab(90.57% -0.0257 0.1425)
OKLCHoklch(90.57% 0.145 100.2)
XYZxyz(67.6032, 74.9476, 23.4732)
Luminance0.7494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E266 #667AF6
analogous
#F69A66 #F6E266 #C2F666
triadic
#F6E266 #66F6E2 #E266F6
tetradic
#F6E266 #66F69A #667AF6 #F666C2
square
#F6E266 #66F69A #667AF6 #F666C2
split-complementary
#F6E266 #66C2F6 #9A66F6
monochromatic
#D5B90D #F3D72C #F6E266 #F9EDA0 #FDF8DA

Accessibility & contrast

On white

1.31
#F6E266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#F6E266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E266
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E266#FFFFFF#000000##000000
##F6E2661.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC59
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e266;
/* rgb */ color: rgb(246, 226, 102);
/* oklch */ color: oklch(90.6% 0.145 100.2);
Tailwind
colors: {
  custom: {
    50: '#fcea96',
    500: '#f6e266',
    950: '#000000',
  },
}
SCSS
$custom: #f6e266;
$custom-light: #fcea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e266",
  "rgb": {
    "r": 246,
    "g": 226,
    "b": 102
  },
  "hsl": {
    "h": 51.667,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90566,
    "c": 0.14483,
    "h": 100.2
  },
  "luminance": 0.74945
}

Semantic roles & 50–950 ramp

primary
#F6E266
secondary
#3147CF
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E266

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

Preview Lab → · Contrast checker → · Palette generator →

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