#F7DC60#F7DC60

#F7DC60 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.145 H 97.0°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#F7DC60
RGBrgb(247, 220, 96)
HSLhsl(49, 90%, 67%)
HSVhsv(49, 61%, 97%)
CMYKcmyk(0%, 10.9%, 61.1%, 3.1%)
CIE-LABlab(87.88, -4.83, 62.73)
CIE-LCHlch(87.88, 62.92, 94.41°)
OKLaboklab(89.39% -0.0178 0.1438)
OKLCHoklch(89.39% 0.145 97)
XYZxyz(66.0651, 71.8082, 21.4445)
Luminance0.7180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC60 #607BF7
analogous
#F79160 #F7DC60 #C6F760
triadic
#F7DC60 #60F7DC #DC60F7
tetradic
#F7DC60 #60F791 #607BF7 #F760C6
square
#F7DC60 #60F791 #607BF7 #F760C6
split-complementary
#F7DC60 #60C6F7 #9160F7
monochromatic
#D2AE0B #F4CF26 #F7DC60 #FAE99A #FDF6D5

Accessibility & contrast

On white

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

On black

15.36
#F7DC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC60
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC60#FFFFFF#000000##000000
##F7DC601.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D752
Deuteranopia (green-blind)
#F7E066
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f7dc60;
/* rgb */ color: rgb(247, 220, 96);
/* oklch */ color: oklch(89.4% 0.145 97.0);
Tailwind
colors: {
  custom: {
    50: '#fde692',
    500: '#f7dc60',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc60;
$custom-light: #fde692;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc60",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 96
  },
  "hsl": {
    "h": 49.272,
    "s": 90.419,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89387,
    "c": 0.14493,
    "h": 97
  },
  "luminance": 0.71805
}

Semantic roles & 50–950 ramp

primary
#F7DC60
secondary
#2E4BCD
accent
#29E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7DC60

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

Preview Lab → · Contrast checker → · Palette generator →

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