#F6F778#F6F778

#F6F778 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.1% C 0.149 H 109.3°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#F6F778
RGBrgb(246, 247, 120)
HSLhsl(60, 89%, 72%)
HSVhsv(60, 51%, 97%)
CMYKcmyk(0.4%, 0%, 51.4%, 3.1%)
CIE-LABlab(94.94, -16.85, 60.10)
CIE-LCHlch(94.94, 62.42, 105.66°)
OKLaboklab(95.05% -0.0495 0.141)
OKLCHoklch(95.05% 0.149 109.3)
XYZxyz(74.6588, 87.4722, 30.7166)
Luminance0.8747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F778 #7978F7
analogous
#F7B878 #F6F778 #B7F778
triadic
#F6F778 #78F6F7 #F778F6
tetradic
#F6F778 #78F7B8 #7978F7 #F778B7
square
#F6F778 #78F7B8 #7978F7 #F778B7
split-complementary
#F6F778 #78B7F7 #B878F7
monochromatic
#E5E70E #F2F43E #F6F778 #FAFAB2 #FDFDE2

Accessibility & contrast

On white

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

On black

18.49
#F6F778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F778
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F778#FFFFFF#000000##000000
##F6F7781.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFF37F
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f6f778;
/* rgb */ color: rgb(246, 247, 120);
/* oklch */ color: oklch(95.1% 0.149 109.3);
Tailwind
colors: {
  custom: {
    50: '#fbf9a2',
    500: '#f6f778',
    950: '#000000',
  },
}
SCSS
$custom: #f6f778;
$custom-light: #fbf9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f778",
  "rgb": {
    "r": 246,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 60.472,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95052,
    "c": 0.14938,
    "h": 109.3
  },
  "luminance": 0.8747
}

Semantic roles & 50–950 ramp

primary
#F6F778
secondary
#4241D3
accent
#00E502
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F778

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

Preview Lab → · Contrast checker → · Palette generator →

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