#F8E66F#F8E66F

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

Color values

HEX#F8E66F
RGBrgb(248, 230, 111)
HSLhsl(52, 91%, 70%)
HSVhsv(52, 55%, 97%)
CMYKcmyk(0%, 7.3%, 55.2%, 2.7%)
CIE-LABlab(90.64, -8.39, 59.23)
CIE-LCHlch(90.64, 59.82, 98.07°)
OKLaboklab(91.65% -0.0264 0.1381)
OKLCHoklch(91.65% 0.141 100.8)
XYZxyz(69.8799, 77.7004, 26.3526)
Luminance0.7770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E66F #6F81F8
analogous
#F8A26F #F8E66F #C5F86F
triadic
#F8E66F #6FF8E6 #E66FF8
tetradic
#F8E66F #6FF8A2 #6F81F8 #F86FC5
square
#F8E66F #6FF8A2 #6F81F8 #F86FC5
split-complementary
#F8E66F #6FC5F8 #A26FF8
monochromatic
#E2C50B #F5DC35 #F8E66F #FBF0A9 #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8E66F#FFFFFF#000000##000000
##F8E66F1.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)
#F9E063
Deuteranopia (green-blind)
#FEE775
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e66f;
/* rgb */ color: rgb(248, 230, 111);
/* oklch */ color: oklch(91.6% 0.141 100.8);
Tailwind
colors: {
  custom: {
    50: '#fded9c',
    500: '#f8e66f',
    950: '#000000',
  },
}
SCSS
$custom: #f8e66f;
$custom-light: #fded9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e66f",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 111
  },
  "hsl": {
    "h": 52.117,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91646,
    "c": 0.14061,
    "h": 100.8
  },
  "luminance": 0.77698
}

Semantic roles & 50–950 ramp

primary
#F8E66F
secondary
#384DD3
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E66F

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

Preview Lab → · Contrast checker → · Palette generator →

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