#F7D856#F7D856

#F7D856 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.150 H 95.7°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#F7D856
RGBrgb(247, 216, 86)
HSLhsl(48, 91%, 65%)
HSVhsv(48, 65%, 97%)
CMYKcmyk(0%, 12.6%, 65.2%, 3.1%)
CIE-LABlab(86.78, -3.42, 65.79)
CIE-LCHlch(86.78, 65.88, 92.98°)
OKLaboklab(88.49% -0.0149 0.1489)
OKLCHoklch(88.49% 0.15 95.7)
XYZxyz(64.5964, 69.5610, 18.8264)
Luminance0.6956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D856 #5675F7
analogous
#F78756 #F7D856 #C6F756
triadic
#F7D856 #56F7D8 #D856F7
tetradic
#F7D856 #56F787 #5675F7 #F756C6
square
#F7D856 #56F787 #5675F7 #F756C6
split-complementary
#F7D856 #56C6F7 #8756F7
monochromatic
#C9A40A #F4CB1C #F7D856 #FAE590 #FDF3CB

Accessibility & contrast

On white

1.41
#F7D856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#F7D856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D856
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D856#FFFFFF#000000##000000
##F7D8561.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD446
Deuteranopia (green-blind)
#F5DD5D
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f7d856;
/* rgb */ color: rgb(247, 216, 86);
/* oklch */ color: oklch(88.5% 0.150 95.7);
Tailwind
colors: {
  custom: {
    50: '#fee38b',
    500: '#f7d856',
    950: '#000000',
  },
}
SCSS
$custom: #f7d856;
$custom-light: #fee38b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d856",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 48.447,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88493,
    "c": 0.14964,
    "h": 95.7
  },
  "luminance": 0.69558
}

Semantic roles & 50–950 ramp

primary
#F7D856
secondary
#2C49C5
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D856

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

Preview Lab → · Contrast checker → · Palette generator →

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