#F7DF86#F7DF86

#F7DF86 is a very light, moderate yellow. Relative luminance 0.743; OKLCH L 90.5% C 0.112 H 94.8°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F7DF86
RGBrgb(247, 223, 134)
HSLhsl(47, 88%, 75%)
HSVhsv(47, 46%, 97%)
CMYKcmyk(0%, 9.7%, 45.7%, 3.1%)
CIE-LABlab(89.05, -3.33, 46.44)
CIE-LCHlch(89.05, 46.56, 94.10°)
OKLaboklab(90.45% -0.0093 0.112)
OKLCHoklch(90.45% 0.112 94.8)
XYZxyz(69.0505, 74.2734, 33.2486)
Luminance0.7427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF86 #869EF7
analogous
#F7A786 #F7DF86 #D6F786
triadic
#F7DF86 #86F7DF #DF86F7
tetradic
#F7DF86 #86F7A7 #869EF7 #F786D6
square
#F7DF86 #86F7A7 #869EF7 #F786D6
split-complementary
#F7DF86 #86D6F7 #A786F7
monochromatic
#EFC113 #F3D04D #F7DF86 #FBEEBF #FDF7E2

Accessibility & contrast

On white

1.32
#F7DF86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#F7DF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF86
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF86#FFFFFF#000000##000000
##F7DF861.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7df86;
/* rgb */ color: rgb(247, 223, 134);
/* oklch */ color: oklch(90.5% 0.112 94.8);
Tailwind
colors: {
  custom: {
    50: '#fce8aa',
    500: '#f7df86',
    950: '#000000',
  },
}
SCSS
$custom: #f7df86;
$custom-light: #fce8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df86",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 134
  },
  "hsl": {
    "h": 47.257,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90452,
    "c": 0.11239,
    "h": 94.8
  },
  "luminance": 0.74271
}

Semantic roles & 50–950 ramp

primary
#F7DF86
secondary
#4D6AD4
accent
#32E401
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7DF86

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

Preview Lab → · Contrast checker → · Palette generator →

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