#F7D86C#F7D86C

#F7D86C is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.132 H 93.5°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#F7D86C
RGBrgb(247, 216, 108)
HSLhsl(47, 90%, 70%)
HSVhsv(47, 56%, 97%)
CMYKcmyk(0%, 12.6%, 56.3%, 3.1%)
CIE-LABlab(86.98, -1.97, 56.35)
CIE-LCHlch(86.98, 56.39, 92.01°)
OKLaboklab(88.72% -0.0081 0.1316)
OKLCHoklch(88.72% 0.132 93.5)
XYZxyz(65.6231, 69.9717, 24.2337)
Luminance0.6997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D86C #6C8BF7
analogous
#F7936C #F7D86C #D0F76C
triadic
#F7D86C #6CF7D8 #D86CF7
tetradic
#F7D86C #6CF793 #6C8BF7 #F76CD0
square
#F7D86C #6CF793 #6C8BF7 #F76CD0
split-complementary
#F7D86C #6CD0F7 #936CF7
monochromatic
#DDAE0C #F4C932 #F7D86C #FAE7A6 #FDF7E0

Accessibility & contrast

On white

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

On black

14.99
#F7D86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D86C
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D86C#FFFFFF#000000##000000
##F7D86C1.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD462
Deuteranopia (green-blind)
#F3DE71
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d86c;
/* rgb */ color: rgb(247, 216, 108);
/* oklch */ color: oklch(88.7% 0.132 93.5);
Tailwind
colors: {
  custom: {
    50: '#fde399',
    500: '#f7d86c',
    950: '#000000',
  },
}
SCSS
$custom: #f7d86c;
$custom-light: #fde399;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d86c",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 46.619,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88718,
    "c": 0.13186,
    "h": 93.5
  },
  "luminance": 0.69969
}

Semantic roles & 50–950 ramp

primary
#F7D86C
secondary
#3659D1
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D86C

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

Preview Lab → · Contrast checker → · Palette generator →

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