#F6EC74#F6EC74

#F6EC74 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.8% C 0.142 H 104.5°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#F6EC74
RGBrgb(246, 236, 116)
HSLhsl(55, 88%, 71%)
HSVhsv(55, 53%, 96%)
CMYKcmyk(0%, 4.1%, 52.8%, 3.5%)
CIE-LABlab(92.06, -11.79, 58.57)
CIE-LCHlch(92.06, 59.74, 101.38°)
OKLaboklab(92.75% -0.0354 0.1372)
OKLCHoklch(92.75% 0.142 104.5)
XYZxyz(71.1560, 80.8470, 28.3764)
Luminance0.8085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EC74 #747EF6
analogous
#F6AB74 #F6EC74 #BFF674
triadic
#F6EC74 #74F6EC #EC74F6
tetradic
#F6EC74 #74F6AB #747EF6 #F674BF
square
#F6EC74 #74F6AB #747EF6 #F674BF
split-complementary
#F6EC74 #74BFF6 #AB74F6
monochromatic
#E1D10F #F2E43B #F6EC74 #FAF4AD #FDFBE2

Accessibility & contrast

On white

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

On black

17.17
#F6EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EC74
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EC74#FFFFFF#000000##000000
##F6EC741.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE568
Deuteranopia (green-blind)
#FFEB7A
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f6ec74;
/* rgb */ color: rgb(246, 236, 116);
/* oklch */ color: oklch(92.8% 0.142 104.5);
Tailwind
colors: {
  custom: {
    50: '#fcf19f',
    500: '#f6ec74',
    950: '#000000',
  },
}
SCSS
$custom: #f6ec74;
$custom-light: #fcf19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ec74",
  "rgb": {
    "r": 246,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 55.385,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92751,
    "c": 0.14173,
    "h": 104.5
  },
  "luminance": 0.80845
}

Semantic roles & 50–950 ramp

primary
#F6EC74
secondary
#3D49D1
accent
#13E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F6EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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