#F7D864#F7D864

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

Color values

HEX#F7D864
RGBrgb(247, 216, 100)
HSLhsl(47, 90%, 68%)
HSVhsv(47, 60%, 97%)
CMYKcmyk(0%, 12.6%, 59.5%, 3.1%)
CIE-LABlab(86.90, -2.54, 59.89)
CIE-LCHlch(86.90, 59.95, 92.43°)
OKLaboklab(88.63% -0.0107 0.1383)
OKLCHoklch(88.63% 0.139 94.4)
XYZxyz(65.2167, 69.8092, 22.0935)
Luminance0.6981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D864 #6483F7
analogous
#F78E64 #F7D864 #CCF764
triadic
#F7D864 #64F7D8 #D864F7
tetradic
#F7D864 #64F78E #6483F7 #F764CC
square
#F7D864 #64F78E #6483F7 #F764CC
split-complementary
#F7D864 #64CCF7 #8E64F7
monochromatic
#D6AB0B #F4C92A #F7D864 #FAE79E #FDF5D8

Accessibility & contrast

On white

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

On black

14.96
#F7D864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D864
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D864#FFFFFF#000000##000000
##F7D8641.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD458
Deuteranopia (green-blind)
#F4DE69
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d864;
/* rgb */ color: rgb(247, 216, 100);
/* oklch */ color: oklch(88.6% 0.139 94.4);
Tailwind
colors: {
  custom: {
    50: '#fde394',
    500: '#f7d864',
    950: '#000000',
  },
}
SCSS
$custom: #f7d864;
$custom-light: #fde394;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d864",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 100
  },
  "hsl": {
    "h": 47.347,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88629,
    "c": 0.13871,
    "h": 94.4
  },
  "luminance": 0.69806
}

Semantic roles & 50–950 ramp

primary
#F7D864
secondary
#2F51D0
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D864

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

Preview Lab → · Contrast checker → · Palette generator →

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