#F7D866#F7D866

#F7D866 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.137 H 94.2°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#F7D866
RGBrgb(247, 216, 102)
HSLhsl(47, 90%, 68%)
HSVhsv(47, 59%, 97%)
CMYKcmyk(0%, 12.6%, 58.7%, 3.1%)
CIE-LABlab(86.92, -2.41, 59.02)
CIE-LCHlch(86.92, 59.07, 92.33°)
OKLaboklab(88.65% -0.0101 0.1367)
OKLCHoklch(88.65% 0.137 94.2)
XYZxyz(65.3147, 69.8484, 22.6095)
Luminance0.6985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D866 #6685F7
analogous
#F78F66 #F7D866 #CEF766
triadic
#F7D866 #66F7D8 #D866F7
tetradic
#F7D866 #66F78F #6685F7 #F766CE
square
#F7D866 #66F78F #6685F7 #F766CE
split-complementary
#F7D866 #66CEF7 #8F66F7
monochromatic
#D7AC0B #F4C92C #F7D866 #FAE7A0 #FDF6DA

Accessibility & contrast

On white

1.40
#F7D866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#F7D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D866
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D866#FFFFFF#000000##000000
##F7D8661.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45A
Deuteranopia (green-blind)
#F4DE6B
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d866;
/* rgb */ color: rgb(247, 216, 102);
/* oklch */ color: oklch(88.6% 0.137 94.2);
Tailwind
colors: {
  custom: {
    50: '#fde395',
    500: '#f7d866',
    950: '#000000',
  },
}
SCSS
$custom: #f7d866;
$custom-light: #fde395;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d866",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 47.172,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8865,
    "c": 0.13703,
    "h": 94.2
  },
  "luminance": 0.69845
}

Semantic roles & 50–950 ramp

primary
#F7D866
secondary
#3153D0
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D866

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

Preview Lab → · Contrast checker → · Palette generator →

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