#F6E778#F6E778

#F6E778 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.133 H 101.7°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#F6E778
RGBrgb(246, 231, 120)
HSLhsl(53, 88%, 72%)
HSVhsv(53, 51%, 96%)
CMYKcmyk(0%, 6.1%, 51.2%, 3.5%)
CIE-LABlab(90.83, -8.98, 55.28)
CIE-LCHlch(90.83, 56.00, 99.23°)
OKLaboklab(91.78% -0.027 0.1305)
OKLCHoklch(91.78% 0.133 101.7)
XYZxyz(69.9742, 78.1032, 29.1551)
Luminance0.7810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E778 #7887F6
analogous
#F6A878 #F6E778 #C6F678
triadic
#F6E778 #78F6E7 #E778F6
tetradic
#F6E778 #78F6A8 #7887F6 #F678C6
square
#F6E778 #78F6A8 #7887F6 #F678C6
split-complementary
#F6E778 #78C6F6 #A878F6
monochromatic
#E4CB0F #F2DD3F #F6E778 #FAF1B1 #FDFAE2

Accessibility & contrast

On white

1.26
#F6E778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#F6E778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E778
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E778#FFFFFF#000000##000000
##F6E7781.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E16E
Deuteranopia (green-blind)
#FDE87D
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f6e778;
/* rgb */ color: rgb(246, 231, 120);
/* oklch */ color: oklch(91.8% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#fbeea1',
    500: '#f6e778',
    950: '#000000',
  },
}
SCSS
$custom: #f6e778;
$custom-light: #fbeea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e778",
  "rgb": {
    "r": 246,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 52.857,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91782,
    "c": 0.13323,
    "h": 101.7
  },
  "luminance": 0.78101
}

Semantic roles & 50–950 ramp

primary
#F6E778
secondary
#4152D1
accent
#1CE401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E778

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

Preview Lab → · Contrast checker → · Palette generator →

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