#F7D876#F7D876

#F7D876 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.123 H 92.2°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#F7D876
RGBrgb(247, 216, 118)
HSLhsl(46, 89%, 72%)
HSVhsv(46, 52%, 97%)
CMYKcmyk(0%, 12.6%, 52.2%, 3.1%)
CIE-LABlab(87.09, -1.19, 51.79)
CIE-LCHlch(87.09, 51.80, 91.31°)
OKLaboklab(88.84% -0.0047 0.1227)
OKLCHoklch(88.84% 0.123 92.2)
XYZxyz(66.1861, 70.1969, 27.1991)
Luminance0.7019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D876 #7695F7
analogous
#F79876 #F7D876 #D6F776
triadic
#F7D876 #76F7D8 #D876F7
tetradic
#F7D876 #76F798 #7695F7 #F776D6
square
#F7D876 #76F798 #7695F7 #F776D6
split-complementary
#F7D876 #76D6F7 #9876F7
monochromatic
#E5B10D #F4C83C #F7D876 #FAE8B0 #FDF7E2

Accessibility & contrast

On white

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

On black

15.04
#F7D876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D876
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D876#FFFFFF#000000##000000
##F7D8761.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56D
Deuteranopia (green-blind)
#F2DE7A
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d876;
/* rgb */ color: rgb(247, 216, 118);
/* oklch */ color: oklch(88.8% 0.123 92.2);
Tailwind
colors: {
  custom: {
    50: '#fce3a0',
    500: '#f7d876',
    950: '#000000',
  },
}
SCSS
$custom: #f7d876;
$custom-light: #fce3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d876",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 118
  },
  "hsl": {
    "h": 45.581,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88841,
    "c": 0.12274,
    "h": 92.2
  },
  "luminance": 0.70194
}

Semantic roles & 50–950 ramp

primary
#F7D876
secondary
#3F62D2
accent
#37E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F7D876

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

Preview Lab → · Contrast checker → · Palette generator →

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