#F7EF86#F7EF86

#F7EF86 is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.7% C 0.127 H 104.7°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#F7EF86
RGBrgb(247, 239, 134)
HSLhsl(56, 88%, 75%)
HSVhsv(56, 46%, 97%)
CMYKcmyk(0%, 3.2%, 45.7%, 3.1%)
CIE-LABlab(93.12, -11.33, 51.46)
CIE-LCHlch(93.12, 52.70, 102.41°)
OKLaboklab(93.67% -0.0324 0.1232)
OKLCHoklch(93.67% 0.127 104.7)
XYZxyz(73.5290, 83.2304, 34.7414)
Luminance0.8323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF86 #868EF7
analogous
#F7B686 #F7EF86 #C7F786
triadic
#F7EF86 #86F7EF #EF86F7
tetradic
#F7EF86 #86F7B6 #868EF7 #F786C7
square
#F7EF86 #86F7B6 #868EF7 #F786C7
split-complementary
#F7EF86 #86C7F7 #B686F7
monochromatic
#EFE013 #F3E74D #F7EF86 #FBF7BF #FDFBE2

Accessibility & contrast

On white

1.19
#F7EF86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#F7EF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF86
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF86#FFFFFF#000000##000000
##F7EF861.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE87D
Deuteranopia (green-blind)
#FFEE8B
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7ef86;
/* rgb */ color: rgb(247, 239, 134);
/* oklch */ color: oklch(93.7% 0.127 104.7);
Tailwind
colors: {
  custom: {
    50: '#fcf4ab',
    500: '#f7ef86',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef86;
$custom-light: #fcf4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef86",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 134
  },
  "hsl": {
    "h": 55.752,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.93671,
    "c": 0.12738,
    "h": 104.7
  },
  "luminance": 0.83228
}

Semantic roles & 50–950 ramp

primary
#F7EF86
secondary
#4D56D4
accent
#11E401
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7EF86

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

Preview Lab → · Contrast checker → · Palette generator →

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