#F6F478#F6F478

#F6F478 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.4% C 0.146 H 108.1°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#F6F478
RGBrgb(246, 244, 120)
HSLhsl(59, 88%, 72%)
HSVhsv(59, 51%, 96%)
CMYKcmyk(0%, 0.8%, 51.2%, 3.5%)
CIE-LABlab(94.16, -15.39, 59.20)
CIE-LCHlch(94.16, 61.17, 104.57°)
OKLaboklab(94.44% -0.0453 0.139)
OKLCHoklch(94.44% 0.146 108.1)
XYZxyz(73.7487, 85.6522, 30.4133)
Luminance0.8565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F478 #787AF6
analogous
#F6B578 #F6F478 #B9F678
triadic
#F6F478 #78F6F4 #F478F6
tetradic
#F6F478 #78F6B5 #787AF6 #F678B9
square
#F6F478 #78F6B5 #787AF6 #F678B9
split-complementary
#F6F478 #78B9F6 #B578F6
monochromatic
#E4E10F #F2EF3F #F6F478 #FAF9B1 #FDFDE2

Accessibility & contrast

On white

1.16
#F6F478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.13
#F6F478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F478
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F478#FFFFFF#000000##000000
##F6F4781.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f6f478;
/* rgb */ color: rgb(246, 244, 120);
/* oklch */ color: oklch(94.4% 0.146 108.1);
Tailwind
colors: {
  custom: {
    50: '#fbf7a2',
    500: '#f6f478',
    950: '#000000',
  },
}
SCSS
$custom: #f6f478;
$custom-light: #fbf7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f478",
  "rgb": {
    "r": 246,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 59.048,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94435,
    "c": 0.1462,
    "h": 108.1
  },
  "luminance": 0.8565
}

Semantic roles & 50–950 ramp

primary
#F6F478
secondary
#4143D1
accent
#05E401
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F478

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

Preview Lab → · Contrast checker → · Palette generator →

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