#F6E978#F6E978

#F6E978 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.2% C 0.135 H 102.8°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#F6E978
RGBrgb(246, 233, 120)
HSLhsl(54, 88%, 72%)
HSVhsv(54, 51%, 96%)
CMYKcmyk(0%, 5.3%, 51.2%, 3.5%)
CIE-LABlab(91.34, -9.98, 55.88)
CIE-LCHlch(91.34, 56.76, 100.12°)
OKLaboklab(92.19% -0.0298 0.1318)
OKLCHoklch(92.19% 0.135 102.8)
XYZxyz(70.5372, 79.2291, 29.3428)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E978 #7885F6
analogous
#F6AA78 #F6E978 #C4F678
triadic
#F6E978 #78F6E9 #E978F6
tetradic
#F6E978 #78F6AA #7885F6 #F678C4
square
#F6E978 #78F6AA #7885F6 #F678C4
split-complementary
#F6E978 #78C4F6 #AA78F6
monochromatic
#E4CE0F #F2E03F #F6E978 #FAF2B1 #FDFAE2

Accessibility & contrast

On white

1.25
#F6E978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#F6E978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E978
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E978#FFFFFF#000000##000000
##F6E9781.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE36E
Deuteranopia (green-blind)
#FFE97D
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f6e978;
/* rgb */ color: rgb(246, 233, 120);
/* oklch */ color: oklch(92.2% 0.135 102.8);
Tailwind
colors: {
  custom: {
    50: '#fbefa2',
    500: '#f6e978',
    950: '#000000',
  },
}
SCSS
$custom: #f6e978;
$custom-light: #fbefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e978",
  "rgb": {
    "r": 246,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 53.81,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92188,
    "c": 0.13513,
    "h": 102.8
  },
  "luminance": 0.79227
}

Semantic roles & 50–950 ramp

primary
#F6E978
secondary
#4150D1
accent
#19E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F6E978

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

Preview Lab → · Contrast checker → · Palette generator →

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