#F7EC66#F7EC66

#F7EC66 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.7% C 0.154 H 104.6°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#F7EC66
RGBrgb(247, 236, 102)
HSLhsl(55, 90%, 68%)
HSVhsv(55, 59%, 97%)
CMYKcmyk(0%, 4.5%, 58.7%, 3.1%)
CIE-LABlab(92.01, -12.41, 64.71)
CIE-LCHlch(92.01, 65.89, 100.86°)
OKLaboklab(92.68% -0.0388 0.1488)
OKLCHoklch(92.68% 0.154 104.6)
XYZxyz(70.7539, 80.7268, 24.4226)
Luminance0.8072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC66 #6671F7
analogous
#F7A366 #F7EC66 #B9F766
triadic
#F7EC66 #66F7EC #EC66F7
tetradic
#F7EC66 #66F7A3 #6671F7 #F766B9
square
#F7EC66 #66F7A3 #6671F7 #F766B9
split-complementary
#F7EC66 #66B9F7 #A366F7
monochromatic
#D7C80B #F4E52C #F7EC66 #FAF3A0 #FDFADA

Accessibility & contrast

On white

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

On black

17.14
#F7EC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC66
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC66#FFFFFF#000000##000000
##F7EC661.001.2217.1417.14
#FFFFFF1.221.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE457
Deuteranopia (green-blind)
#FFEB6D
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7ec66;
/* rgb */ color: rgb(247, 236, 102);
/* oklch */ color: oklch(92.7% 0.154 104.6);
Tailwind
colors: {
  custom: {
    50: '#fdf196',
    500: '#f7ec66',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec66;
$custom-light: #fdf196;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec66",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 102
  },
  "hsl": {
    "h": 55.448,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.92684,
    "c": 0.15379,
    "h": 104.6
  },
  "luminance": 0.80724
}

Semantic roles & 50–950 ramp

primary
#F7EC66
secondary
#313DD0
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7EC66

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

Preview Lab → · Contrast checker → · Palette generator →

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