#F7D874#F7D874

#F7D874 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.8% C 0.125 H 92.5°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#F7D874
RGBrgb(247, 216, 116)
HSLhsl(46, 89%, 71%)
HSVhsv(46, 53%, 97%)
CMYKcmyk(0%, 12.6%, 53%, 3.1%)
CIE-LABlab(87.07, -1.35, 52.71)
CIE-LCHlch(87.07, 52.73, 91.47°)
OKLaboklab(88.82% -0.0054 0.1245)
OKLCHoklch(88.82% 0.125 92.5)
XYZxyz(66.0685, 70.1499, 26.5798)
Luminance0.7015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D874 #7493F7
analogous
#F79674 #F7D874 #D4F774
triadic
#F7D874 #74F7D8 #D874F7
tetradic
#F7D874 #74F796 #7493F7 #F774D4
square
#F7D874 #74F796 #7493F7 #F774D4
split-complementary
#F7D874 #74D4F7 #9674F7
monochromatic
#E4B10D #F4C83A #F7D874 #FAE8AE #FDF7E2

Accessibility & contrast

On white

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

On black

15.03
#F7D874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D874
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D874#FFFFFF#000000##000000
##F7D8741.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7d874;
/* rgb */ color: rgb(247, 216, 116);
/* oklch */ color: oklch(88.8% 0.125 92.5);
Tailwind
colors: {
  custom: {
    50: '#fce39e',
    500: '#f7d874',
    950: '#000000',
  },
}
SCSS
$custom: #f7d874;
$custom-light: #fce39e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d874",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 116
  },
  "hsl": {
    "h": 45.802,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88815,
    "c": 0.12461,
    "h": 92.5
  },
  "luminance": 0.70147
}

Semantic roles & 50–950 ramp

primary
#F7D874
secondary
#3D60D2
accent
#36E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F7D874

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

Preview Lab → · Contrast checker → · Palette generator →

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