#F7ED66#F7ED66

#F7ED66 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.9% C 0.155 H 105.1°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F7ED66
RGBrgb(247, 237, 102)
HSLhsl(56, 90%, 68%)
HSVhsv(56, 59%, 97%)
CMYKcmyk(0%, 4%, 58.7%, 3.1%)
CIE-LABlab(92.27, -12.90, 64.99)
CIE-LCHlch(92.27, 66.26, 101.23°)
OKLaboklab(92.89% -0.0402 0.1494)
OKLCHoklch(92.89% 0.155 105.1)
XYZxyz(71.0426, 81.3042, 24.5188)
Luminance0.8130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ED66 #6670F7
analogous
#F7A466 #F7ED66 #B8F766
triadic
#F7ED66 #66F7ED #ED66F7
tetradic
#F7ED66 #66F7A4 #6670F7 #F766B8
square
#F7ED66 #66F7A4 #6670F7 #F766B8
split-complementary
#F7ED66 #66B8F7 #A466F7
monochromatic
#D7C90B #F4E62C #F7ED66 #FAF4A0 #FDFBDA

Accessibility & contrast

On white

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

On black

17.26
#F7ED66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ED66
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ED66#FFFFFF#000000##000000
##F7ED661.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FFEC6D
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ed66;
/* rgb */ color: rgb(247, 237, 102);
/* oklch */ color: oklch(92.9% 0.155 105.1);
Tailwind
colors: {
  custom: {
    50: '#fdf296',
    500: '#f7ed66',
    950: '#000000',
  },
}
SCSS
$custom: #f7ed66;
$custom-light: #fdf296;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ed66",
  "rgb": {
    "r": 247,
    "g": 237,
    "b": 102
  },
  "hsl": {
    "h": 55.862,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.92889,
    "c": 0.15473,
    "h": 105.1
  },
  "luminance": 0.81302
}

Semantic roles & 50–950 ramp

primary
#F7ED66
secondary
#313CD0
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7ED66

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

Preview Lab → · Contrast checker → · Palette generator →

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