#F7DC6C#F7DC6C

#F7DC6C is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.5% C 0.135 H 96.0°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#F7DC6C
RGBrgb(247, 220, 108)
HSLhsl(48, 90%, 70%)
HSVhsv(48, 56%, 97%)
CMYKcmyk(0%, 10.9%, 56.3%, 3.1%)
CIE-LABlab(87.99, -4.00, 57.52)
CIE-LCHlch(87.99, 57.66, 93.98°)
OKLaboklab(89.52% -0.014 0.1341)
OKLCHoklch(89.52% 0.135 96)
XYZxyz(66.6603, 72.0463, 24.5795)
Luminance0.7204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC6C #6C87F7
analogous
#F7966C #F7DC6C #CDF76C
triadic
#F7DC6C #6CF7DC #DC6CF7
tetradic
#F7DC6C #6CF796 #6C87F7 #F76CCD
square
#F7DC6C #6CF796 #6C87F7 #F76CCD
split-complementary
#F7DC6C #6CCDF7 #966CF7
monochromatic
#DDB40C #F4CE32 #F7DC6C #FAEAA6 #FDF8E0

Accessibility & contrast

On white

1.36
#F7DC6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#F7DC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC6C
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC6C#FFFFFF#000000##000000
##F7DC6C1.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD861
Deuteranopia (green-blind)
#F6E071
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dc6c;
/* rgb */ color: rgb(247, 220, 108);
/* oklch */ color: oklch(89.5% 0.135 96.0);
Tailwind
colors: {
  custom: {
    50: '#fde699',
    500: '#f7dc6c',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc6c;
$custom-light: #fde699;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc6c",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 108
  },
  "hsl": {
    "h": 48.345,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89515,
    "c": 0.13485,
    "h": 96
  },
  "luminance": 0.72043
}

Semantic roles & 50–950 ramp

primary
#F7DC6C
secondary
#3654D1
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7DC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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