#F7DF84#F7DF84

#F7DF84 is a very light, moderate yellow. Relative luminance 0.742; OKLCH L 90.4% C 0.114 H 95.0°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#F7DF84
RGBrgb(247, 223, 132)
HSLhsl(47, 88%, 74%)
HSVhsv(47, 47%, 97%)
CMYKcmyk(0%, 9.7%, 46.6%, 3.1%)
CIE-LABlab(89.03, -3.51, 47.39)
CIE-LCHlch(89.03, 47.52, 94.24°)
OKLaboklab(90.42% -0.01 0.114)
OKLCHoklch(90.42% 0.114 95)
XYZxyz(68.9123, 74.2181, 32.5209)
Luminance0.7421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF84 #849CF7
analogous
#F7A684 #F7DF84 #D6F784
triadic
#F7DF84 #84F7DF #DF84F7
tetradic
#F7DF84 #84F7A6 #849CF7 #F784D6
square
#F7DF84 #84F7A6 #849CF7 #F784D6
split-complementary
#F7DF84 #84D6F7 #A684F7
monochromatic
#F0C111 #F3D04B #F7DF84 #FBEEBD #FDF8E2

Accessibility & contrast

On white

1.33
#F7DF84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#F7DF84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF84
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF84#FFFFFF#000000##000000
##F7DF841.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB7D
Deuteranopia (green-blind)
#F6E388
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7df84;
/* rgb */ color: rgb(247, 223, 132);
/* oklch */ color: oklch(90.4% 0.114 95.0);
Tailwind
colors: {
  custom: {
    50: '#fce8a9',
    500: '#f7df84',
    950: '#000000',
  },
}
SCSS
$custom: #f7df84;
$custom-light: #fce8a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df84",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 132
  },
  "hsl": {
    "h": 47.478,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90423,
    "c": 0.11442,
    "h": 95
  },
  "luminance": 0.74215
}

Semantic roles & 50–950 ramp

primary
#F7DF84
secondary
#4B68D4
accent
#31E401
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7DF84

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

Preview Lab → · Contrast checker → · Palette generator →

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