#F6E474#F6E474

#F6E474 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.1% C 0.134 H 100.3°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#F6E474
RGBrgb(246, 228, 116)
HSLhsl(52, 88%, 71%)
HSVhsv(52, 53%, 96%)
CMYKcmyk(0%, 7.3%, 52.8%, 3.5%)
CIE-LABlab(90.02, -7.81, 56.18)
CIE-LCHlch(90.02, 56.72, 97.92°)
OKLaboklab(91.13% -0.024 0.1321)
OKLCHoklch(91.13% 0.134 100.3)
XYZxyz(68.9041, 76.3432, 27.6258)
Luminance0.7634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E474 #7486F6
analogous
#F6A374 #F6E474 #C7F674
triadic
#F6E474 #74F6E4 #E474F6
tetradic
#F6E474 #74F6A3 #7486F6 #F674C7
square
#F6E474 #74F6A3 #7486F6 #F674C7
split-complementary
#F6E474 #74C7F6 #A374F6
monochromatic
#E1C40F #F2D93B #F6E474 #FAEFAD #FDF9E2

Accessibility & contrast

On white

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

On black

16.27
#F6E474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E474
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E474#FFFFFF#000000##000000
##F6E4741.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6A
Deuteranopia (green-blind)
#FBE679
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f6e474;
/* rgb */ color: rgb(246, 228, 116);
/* oklch */ color: oklch(91.1% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#fcec9f',
    500: '#f6e474',
    950: '#000000',
  },
}
SCSS
$custom: #f6e474;
$custom-light: #fcec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e474",
  "rgb": {
    "r": 246,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 51.692,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91127,
    "c": 0.13423,
    "h": 100.3
  },
  "luminance": 0.76341
}

Semantic roles & 50–950 ramp

primary
#F6E474
secondary
#3D52D1
accent
#21E401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E474

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

Preview Lab → · Contrast checker → · Palette generator →

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