#F7D863#F7D863

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

Color values

HEX#F7D863
RGBrgb(247, 216, 99)
HSLhsl(47, 90%, 68%)
HSVhsv(47, 60%, 97%)
CMYKcmyk(0%, 12.6%, 59.9%, 3.1%)
CIE-LABlab(86.89, -2.61, 60.33)
CIE-LCHlch(86.89, 60.39, 92.48°)
OKLaboklab(88.62% -0.011 0.1391)
OKLCHoklch(88.62% 0.14 94.5)
XYZxyz(65.1686, 69.7899, 21.8401)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D863 #6382F7
analogous
#F78E63 #F7D863 #CCF763
triadic
#F7D863 #63F7D8 #D863F7
tetradic
#F7D863 #63F78E #6382F7 #F763CC
square
#F7D863 #63F78E #6382F7 #F763CC
split-complementary
#F7D863 #63CCF7 #8E63F7
monochromatic
#D5AA0B #F4C929 #F7D863 #FAE79D #FDF5D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7D863#FFFFFF#000000##000000
##F7D8631.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)
#ECD457
Deuteranopia (green-blind)
#F4DE68
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d863;
/* rgb */ color: rgb(247, 216, 99);
/* oklch */ color: oklch(88.6% 0.140 94.5);
Tailwind
colors: {
  custom: {
    50: '#fde393',
    500: '#f7d863',
    950: '#000000',
  },
}
SCSS
$custom: #f7d863;
$custom-light: #fde393;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d863",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 99
  },
  "hsl": {
    "h": 47.432,
    "s": 90.244,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88619,
    "c": 0.13954,
    "h": 94.5
  },
  "luminance": 0.69787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7D863

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

Preview Lab → · Contrast checker → · Palette generator →

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