#FFF786#FFF786

#FFF786 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 96.0% C 0.135 H 105.1°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#FFF786
RGBrgb(255, 247, 134)
HSLhsl(56, 100%, 76%)
HSVhsv(56, 47%, 100%)
CMYKcmyk(0%, 3.1%, 47.5%, 0%)
CIE-LABlab(95.79, -12.13, 54.86)
CIE-LCHlch(95.79, 56.19, 102.47°)
OKLaboklab(95.95% -0.0351 0.1306)
OKLCHoklch(95.95% 0.135 105.1)
XYZxyz(78.8058, 89.5050, 35.6746)
Luminance0.8950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF786 #868EFF
analogous
#FFBB86 #FFF786 #CBFF86
triadic
#FFF786 #86FFF7 #F786FF
tetradic
#FFF786 #86FFBB #868EFF #FF86CB
square
#FFF786 #86FFBB #868EFF #FF86CB
split-complementary
#FFF786 #86CBFF #BB86FF
monochromatic
#FFEF0C #FFF349 #FFF786 #FFFBC3 #FFFDE0

Accessibility & contrast

On white

1.11
#FFF786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.90
#FFF786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF786
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF786#FFFFFF#000000##000000
##FFF7861.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF07C
Deuteranopia (green-blind)
#FFF58B
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff786;
/* rgb */ color: rgb(255, 247, 134);
/* oklch */ color: oklch(96.0% 0.135 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff9ab',
    500: '#fff786',
    950: '#000000',
  },
}
SCSS
$custom: #fff786;
$custom-light: #fff9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fff786",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 134
  },
  "hsl": {
    "h": 56.033,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.9595,
    "c": 0.13524,
    "h": 105.1
  },
  "luminance": 0.89503
}

Semantic roles & 50–950 ramp

primary
#FFF786
secondary
#4A54DF
accent
#0FE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF786

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

Preview Lab → · Contrast checker → · Palette generator →

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