#F7E86F#F7E86F

#F7E86F is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 92.0% C 0.142 H 102.3°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#F7E86F
RGBrgb(247, 232, 111)
HSLhsl(53, 89%, 70%)
HSVhsv(53, 55%, 97%)
CMYKcmyk(0%, 6.1%, 55.1%, 3.1%)
CIE-LABlab(91.07, -9.79, 59.70)
CIE-LCHlch(91.07, 60.50, 99.31°)
OKLaboklab(91.97% -0.0303 0.1391)
OKLCHoklch(91.97% 0.142 102.3)
XYZxyz(70.0860, 78.6376, 26.5226)
Luminance0.7863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E86F #6F7EF7
analogous
#F7A46F #F7E86F #C2F76F
triadic
#F7E86F #6FF7E8 #E86FF7
tetradic
#F7E86F #6FF7A4 #6F7EF7 #F76FC2
square
#F7E86F #6FF7A4 #6F7EF7 #F76FC2
split-complementary
#F7E86F #6FC2F7 #A46FF7
monochromatic
#DFC80C #F4DF35 #F7E86F #FAF1A9 #FDFAE2

Accessibility & contrast

On white

1.26
#F7E86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#F7E86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E86F
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E86F#FFFFFF#000000##000000
##F7E86F1.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE263
Deuteranopia (green-blind)
#FFE875
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e86f;
/* rgb */ color: rgb(247, 232, 111);
/* oklch */ color: oklch(92.0% 0.142 102.3);
Tailwind
colors: {
  custom: {
    50: '#fcef9c',
    500: '#f7e86f',
    950: '#000000',
  },
}
SCSS
$custom: #f7e86f;
$custom-light: #fcef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e86f",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 111
  },
  "hsl": {
    "h": 53.382,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91965,
    "c": 0.14241,
    "h": 102.3
  },
  "luminance": 0.78635
}

Semantic roles & 50–950 ramp

primary
#F7E86F
secondary
#394AD1
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7E86F

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

Preview Lab → · Contrast checker → · Palette generator →

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