#F6EC78#F6EC78

#F6EC78 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.8% C 0.138 H 104.3°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#F6EC78
RGBrgb(246, 236, 120)
HSLhsl(55, 88%, 72%)
HSVhsv(55, 51%, 96%)
CMYKcmyk(0%, 4.1%, 51.2%, 3.5%)
CIE-LABlab(92.11, -11.46, 56.79)
CIE-LCHlch(92.11, 57.93, 101.41°)
OKLaboklab(92.8% -0.0341 0.1338)
OKLCHoklch(92.8% 0.138 104.3)
XYZxyz(71.3937, 80.9420, 29.6283)
Luminance0.8094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EC78 #7882F6
analogous
#F6AD78 #F6EC78 #C1F678
triadic
#F6EC78 #78F6EC #EC78F6
tetradic
#F6EC78 #78F6AD #7882F6 #F678C1
square
#F6EC78 #78F6AD #7882F6 #F678C1
split-complementary
#F6EC78 #78C1F6 #AD78F6
monochromatic
#E4D30F #F2E43F #F6EC78 #FAF4B1 #FDFBE2

Accessibility & contrast

On white

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

On black

17.19
#F6EC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EC78
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EC78#FFFFFF#000000##000000
##F6EC781.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56D
Deuteranopia (green-blind)
#FFEB7E
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f6ec78;
/* rgb */ color: rgb(246, 236, 120);
/* oklch */ color: oklch(92.8% 0.138 104.3);
Tailwind
colors: {
  custom: {
    50: '#fbf1a2',
    500: '#f6ec78',
    950: '#000000',
  },
}
SCSS
$custom: #f6ec78;
$custom-light: #fbf1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ec78",
  "rgb": {
    "r": 246,
    "g": 236,
    "b": 120
  },
  "hsl": {
    "h": 55.238,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92798,
    "c": 0.13804,
    "h": 104.3
  },
  "luminance": 0.8094
}

Semantic roles & 50–950 ramp

primary
#F6EC78
secondary
#414CD1
accent
#13E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F6EC78

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

Preview Lab → · Contrast checker → · Palette generator →

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