#F7D854#F7D854

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

Color values

HEX#F7D854
RGBrgb(247, 216, 84)
HSLhsl(49, 91%, 65%)
HSVhsv(49, 66%, 97%)
CMYKcmyk(0%, 12.6%, 66%, 3.1%)
CIE-LABlab(86.77, -3.53, 66.59)
CIE-LCHlch(86.77, 66.69, 93.04°)
OKLaboklab(88.48% -0.0154 0.1503)
OKLCHoklch(88.48% 0.151 95.9)
XYZxyz(64.5169, 69.5293, 18.4080)
Luminance0.6953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D854 #5473F7
analogous
#F78754 #F7D854 #C4F754
triadic
#F7D854 #54F7D8 #D854F7
tetradic
#F7D854 #54F787 #5473F7 #F754C4
square
#F7D854 #54F787 #5473F7 #F754C4
split-complementary
#F7D854 #54C4F7 #8754F7
monochromatic
#C7A309 #F4CB1A #F7D854 #FAE58E #FCF3C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7D854#FFFFFF#000000##000000
##F7D8541.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)
#EDD443
Deuteranopia (green-blind)
#F5DD5B
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f7d854;
/* rgb */ color: rgb(247, 216, 84);
/* oklch */ color: oklch(88.5% 0.151 95.9);
Tailwind
colors: {
  custom: {
    50: '#fee38a',
    500: '#f7d854',
    950: '#000000',
  },
}
SCSS
$custom: #f7d854;
$custom-light: #fee38a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d854",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 84
  },
  "hsl": {
    "h": 48.589,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88476,
    "c": 0.15108,
    "h": 95.9
  },
  "luminance": 0.69526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7D854

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

Preview Lab → · Contrast checker → · Palette generator →

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