#F7DC86#F7DC86

#F7DC86 is a very light, moderate yellow. Relative luminance 0.727; OKLCH L 89.9% C 0.110 H 92.6°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#F7DC86
RGBrgb(247, 220, 134)
HSLhsl(46, 88%, 75%)
HSVhsv(46, 46%, 97%)
CMYKcmyk(0%, 10.9%, 45.7%, 3.1%)
CIE-LABlab(88.30, -1.80, 45.50)
CIE-LCHlch(88.30, 45.54, 92.27°)
OKLaboklab(89.86% -0.0049 0.1099)
OKLCHoklch(89.86% 0.11 92.6)
XYZxyz(68.2561, 72.6845, 32.9838)
Luminance0.7268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC86 #86A1F7
analogous
#F7A486 #F7DC86 #D9F786
triadic
#F7DC86 #86F7DC #DC86F7
tetradic
#F7DC86 #86F7A4 #86A1F7 #F786D9
square
#F7DC86 #86F7A4 #86A1F7 #F786D9
split-complementary
#F7DC86 #86D9F7 #A486F7
monochromatic
#EFBB13 #F3CB4D #F7DC86 #FBEDBF #FDF7E2

Accessibility & contrast

On white

1.35
#F7DC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#F7DC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC86
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC86#FFFFFF#000000##000000
##F7DC861.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD97F
Deuteranopia (green-blind)
#F4E189
Tritanopia (blue-blind)
#FFD0C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f7dc86;
/* rgb */ color: rgb(247, 220, 134);
/* oklch */ color: oklch(89.9% 0.110 92.6);
Tailwind
colors: {
  custom: {
    50: '#fce6aa',
    500: '#f7dc86',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc86;
$custom-light: #fce6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc86",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 134
  },
  "hsl": {
    "h": 45.664,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.89856,
    "c": 0.10999,
    "h": 92.6
  },
  "luminance": 0.72682
}

Semantic roles & 50–950 ramp

primary
#F7DC86
secondary
#4D6DD4
accent
#38E401
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F7DC86

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

Preview Lab → · Contrast checker → · Palette generator →

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