#F4F866#F4F866

#F4F866 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.9% C 0.166 H 110.7°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#F4F866
RGBrgb(244, 248, 102)
HSLhsl(62, 91%, 69%)
HSVhsv(62, 59%, 97%)
CMYKcmyk(1.6%, 0%, 58.9%, 2.7%)
CIE-LABlab(94.88, -19.45, 67.79)
CIE-LCHlch(94.88, 70.52, 106.01°)
OKLaboklab(94.91% -0.0586 0.1554)
OKLCHoklch(94.91% 0.166 110.7)
XYZxyz(73.2759, 87.3290, 25.5640)
Luminance0.8733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F866 #6A66F8
analogous
#F8B366 #F4F866 #ABF866
triadic
#F4F866 #66F4F8 #F866F4
tetradic
#F4F866 #66F8B3 #6A66F8 #F866AB
square
#F4F866 #66F8B3 #6A66F8 #F866AB
split-complementary
#F4F866 #66ABF8 #B366F8
monochromatic
#D4DA0A #F0F52B #F4F866 #F8FBA1 #FCFDDB

Accessibility & contrast

On white

1.14
#F4F866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#F4F866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F866
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F866#FFFFFF#000000##000000
##F4F8661.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE55
Deuteranopia (green-blind)
#FFF26F
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f4f866;
/* rgb */ color: rgb(244, 248, 102);
/* oklch */ color: oklch(94.9% 0.166 110.7);
Tailwind
colors: {
  custom: {
    50: '#fbfa97',
    500: '#f4f866',
    950: '#000000',
  },
}
SCSS
$custom: #f4f866;
$custom-light: #fbfa97;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f866",
  "rgb": {
    "r": 244,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 61.644,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94912,
    "c": 0.1661,
    "h": 110.7
  },
  "luminance": 0.87327
}

Semantic roles & 50–950 ramp

primary
#F4F866
secondary
#3531D2
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F4F866

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

Preview Lab → · Contrast checker → · Palette generator →

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