#F6EC80#F6EC80

#F6EC80 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.9% C 0.130 H 103.9°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#F6EC80
RGBrgb(246, 236, 128)
HSLhsl(55, 87%, 73%)
HSVhsv(55, 48%, 96%)
CMYKcmyk(0%, 4.1%, 48%, 3.5%)
CIE-LABlab(92.20, -10.78, 53.17)
CIE-LCHlch(92.20, 54.25, 101.46°)
OKLaboklab(92.9% -0.0313 0.1265)
OKLCHoklch(92.9% 0.13 103.9)
XYZxyz(71.8996, 81.1444, 32.2929)
Luminance0.8114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EC80 #808AF6
analogous
#F6B180 #F6EC80 #C5F680
triadic
#F6EC80 #80F6EC #EC80F6
tetradic
#F6EC80 #80F6B1 #808AF6 #F680C5
square
#F6EC80 #80F6B1 #808AF6 #F680C5
split-complementary
#F6EC80 #80C5F6 #B180F6
monochromatic
#EBD811 #F2E347 #F6EC80 #FAF5B9 #FDFBE2

Accessibility & contrast

On white

1.22
#F6EC80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#F6EC80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EC80
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EC80#FFFFFF#000000##000000
##F6EC801.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE577
Deuteranopia (green-blind)
#FFEB85
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f6ec80;
/* rgb */ color: rgb(246, 236, 128);
/* oklch */ color: oklch(92.9% 0.130 103.9);
Tailwind
colors: {
  custom: {
    50: '#fbf2a7',
    500: '#f6ec80',
    950: '#000000',
  },
}
SCSS
$custom: #f6ec80;
$custom-light: #fbf2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ec80",
  "rgb": {
    "r": 246,
    "g": 236,
    "b": 128
  },
  "hsl": {
    "h": 54.915,
    "s": 86.765,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92899,
    "c": 0.13034,
    "h": 103.9
  },
  "luminance": 0.81142
}

Semantic roles & 50–950 ramp

primary
#F6EC80
secondary
#4854D2
accent
#15E302
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #F6EC80

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

Preview Lab → · Contrast checker → · Palette generator →

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