#F7DC66#F7DC66

#F7DC66 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.4% C 0.140 H 96.5°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#F7DC66
RGBrgb(247, 220, 102)
HSLhsl(49, 90%, 68%)
HSVhsv(49, 59%, 97%)
CMYKcmyk(0%, 10.9%, 58.7%, 3.1%)
CIE-LABlab(87.93, -4.43, 60.16)
CIE-LCHlch(87.93, 60.32, 94.21°)
OKLaboklab(89.45% -0.0159 0.1391)
OKLCHoklch(89.45% 0.14 96.5)
XYZxyz(66.3519, 71.9229, 22.9553)
Luminance0.7192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC66 #6681F7
analogous
#F79366 #F7DC66 #C9F766
triadic
#F7DC66 #66F7DC #DC66F7
tetradic
#F7DC66 #66F793 #6681F7 #F766C9
square
#F7DC66 #66F793 #6681F7 #F766C9
split-complementary
#F7DC66 #66C9F7 #9366F7
monochromatic
#D7B10B #F4CF2C #F7DC66 #FAE9A0 #FDF7DA

Accessibility & contrast

On white

1.37
#F7DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#F7DC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC66
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC66#FFFFFF#000000##000000
##F7DC661.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D75A
Deuteranopia (green-blind)
#F7E06B
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f7dc66;
/* rgb */ color: rgb(247, 220, 102);
/* oklch */ color: oklch(89.4% 0.140 96.5);
Tailwind
colors: {
  custom: {
    50: '#fde695',
    500: '#f7dc66',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc66;
$custom-light: #fde695;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc66",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 102
  },
  "hsl": {
    "h": 48.828,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89448,
    "c": 0.14001,
    "h": 96.5
  },
  "luminance": 0.7192
}

Semantic roles & 50–950 ramp

primary
#F7DC66
secondary
#314FD0
accent
#2BE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7DC66

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

Preview Lab → · Contrast checker → · Palette generator →

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