#F6E478#F6E478

#F6E478 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.2% C 0.130 H 100.0°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#F6E478
RGBrgb(246, 228, 120)
HSLhsl(51, 88%, 72%)
HSVhsv(51, 51%, 96%)
CMYKcmyk(0%, 7.3%, 51.2%, 3.5%)
CIE-LABlab(90.06, -7.49, 54.37)
CIE-LCHlch(90.06, 54.88, 97.84°)
OKLaboklab(91.18% -0.0227 0.1285)
OKLCHoklch(91.18% 0.13 100)
XYZxyz(69.1418, 76.4382, 28.8776)
Luminance0.7644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E478 #788AF6
analogous
#F6A578 #F6E478 #C9F678
triadic
#F6E478 #78F6E4 #E478F6
tetradic
#F6E478 #78F6A5 #788AF6 #F678C9
square
#F6E478 #78F6A5 #788AF6 #F678C9
split-complementary
#F6E478 #78C9F6 #A578F6
monochromatic
#E4C60F #F2D93F #F6E478 #FAEFB1 #FDF9E2

Accessibility & contrast

On white

1.29
#F6E478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#F6E478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E478
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E478#FFFFFF#000000##000000
##F6E4781.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6E
Deuteranopia (green-blind)
#FBE67D
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f6e478;
/* rgb */ color: rgb(246, 228, 120);
/* oklch */ color: oklch(91.2% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#fbeca1',
    500: '#f6e478',
    950: '#000000',
  },
}
SCSS
$custom: #f6e478;
$custom-light: #fbeca1;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e478",
  "rgb": {
    "r": 246,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 51.429,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91176,
    "c": 0.13048,
    "h": 100
  },
  "luminance": 0.76436
}

Semantic roles & 50–950 ramp

primary
#F6E478
secondary
#4156D1
accent
#22E401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E478

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

Preview Lab → · Contrast checker → · Palette generator →

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