#F7DC5D#F7DC5D

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

Color values

HEX#F7DC5D
RGBrgb(247, 220, 93)
HSLhsl(49, 91%, 67%)
HSVhsv(49, 62%, 97%)
CMYKcmyk(0%, 10.9%, 62.3%, 3.1%)
CIE-LABlab(87.85, -5.02, 63.99)
CIE-LCHlch(87.85, 64.19, 94.49°)
OKLaboklab(89.36% -0.0187 0.1461)
OKLCHoklch(89.36% 0.147 97.3)
XYZxyz(65.9296, 71.7540, 20.7310)
Luminance0.7175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC5D #5D78F7
analogous
#F78F5D #F7DC5D #C5F75D
triadic
#F7DC5D #5DF7DC #DC5DF7
tetradic
#F7DC5D #5DF78F #5D78F7 #F75DC5
square
#F7DC5D #5DF78F #5D78F7 #F75DC5
split-complementary
#F7DC5D #5DC5F7 #8F5DF7
monochromatic
#CFAD0A #F4CF23 #F7DC5D #FAE997 #FDF5D2

Accessibility & contrast

On white

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

On black

15.35
#F7DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC5D
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC5D#FFFFFF#000000##000000
##F7DC5D1.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7dc5d;
/* rgb */ color: rgb(247, 220, 93);
/* oklch */ color: oklch(89.4% 0.147 97.3);
Tailwind
colors: {
  custom: {
    50: '#fde690',
    500: '#f7dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc5d;
$custom-light: #fde690;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc5d",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 49.481,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.89358,
    "c": 0.1473,
    "h": 97.3
  },
  "luminance": 0.71751
}

Semantic roles & 50–950 ramp

primary
#F7DC5D
secondary
#2D49CB
accent
#28E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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