#F7D877#F7D877

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

Color values

HEX#F7D877
RGBrgb(247, 216, 119)
HSLhsl(45, 89%, 72%)
HSVhsv(45, 52%, 97%)
CMYKcmyk(0%, 12.6%, 51.8%, 3.1%)
CIE-LABlab(87.11, -1.11, 51.32)
CIE-LCHlch(87.11, 51.34, 91.23°)
OKLaboklab(88.85% -0.0044 0.1217)
OKLCHoklch(88.85% 0.122 92.1)
XYZxyz(66.2459, 70.2208, 27.5137)
Luminance0.7022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D877 #7796F7
analogous
#F79877 #F7D877 #D6F777
triadic
#F7D877 #77F7D8 #D877F7
tetradic
#F7D877 #77F798 #7796F7 #F777D6
square
#F7D877 #77F798 #7796F7 #F777D6
split-complementary
#F7D877 #77D6F7 #9877F7
monochromatic
#E6B20E #F4C73D #F7D877 #FAE9B1 #FDF7E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7D877#FFFFFF#000000##000000
##F7D8771.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)
#EAD56E
Deuteranopia (green-blind)
#F2DE7B
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d877;
/* rgb */ color: rgb(247, 216, 119);
/* oklch */ color: oklch(88.9% 0.122 92.1);
Tailwind
colors: {
  custom: {
    50: '#fce3a0',
    500: '#f7d877',
    950: '#000000',
  },
}
SCSS
$custom: #f7d877;
$custom-light: #fce3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d877",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 45.469,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88854,
    "c": 0.1218,
    "h": 92.1
  },
  "luminance": 0.70218
}

Semantic roles & 50–950 ramp

primary
#F7D877
secondary
#4063D2
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F7D877

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

Preview Lab → · Contrast checker → · Palette generator →

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