#F7D86B#F7D86B

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

Color values

HEX#F7D86B
RGBrgb(247, 216, 107)
HSLhsl(47, 90%, 69%)
HSVhsv(47, 57%, 97%)
CMYKcmyk(0%, 12.6%, 56.7%, 3.1%)
CIE-LABlab(86.97, -2.05, 56.80)
CIE-LCHlch(86.97, 56.84, 92.06°)
OKLaboklab(88.71% -0.0085 0.1325)
OKLCHoklch(88.71% 0.133 93.7)
XYZxyz(65.5702, 69.9506, 23.9551)
Luminance0.6995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D86B #6B8AF7
analogous
#F7926B #F7D86B #D0F76B
triadic
#F7D86B #6BF7D8 #D86BF7
tetradic
#F7D86B #6BF792 #6B8AF7 #F76BD0
square
#F7D86B #6BF792 #6B8AF7 #F76BD0
split-complementary
#F7D86B #6BD0F7 #926BF7
monochromatic
#DCAE0C #F4C931 #F7D86B #FAE7A5 #FDF7DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7D86B#FFFFFF#000000##000000
##F7D86B1.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)
#EBD460
Deuteranopia (green-blind)
#F3DE70
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d86b;
/* rgb */ color: rgb(247, 216, 107);
/* oklch */ color: oklch(88.7% 0.133 93.7);
Tailwind
colors: {
  custom: {
    50: '#fde398',
    500: '#f7d86b',
    950: '#000000',
  },
}
SCSS
$custom: #f7d86b;
$custom-light: #fde398;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d86b",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 46.714,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88706,
    "c": 0.13274,
    "h": 93.7
  },
  "luminance": 0.69947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7D86B

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

Preview Lab → · Contrast checker → · Palette generator →

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