#FFF286#FFF286

#FFF286 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.9% C 0.130 H 102.4°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FFF286
RGBrgb(255, 242, 134)
HSLhsl(54, 100%, 76%)
HSVhsv(54, 47%, 100%)
CMYKcmyk(0%, 5.1%, 47.5%, 0%)
CIE-LABlab(94.52, -9.67, 53.33)
CIE-LCHlch(94.52, 54.20, 100.28°)
OKLaboklab(94.94% -0.0281 0.1272)
OKLCHoklch(94.94% 0.13 102.4)
XYZxyz(77.2972, 86.4879, 35.1717)
Luminance0.8649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF286 #8693FF
analogous
#FFB686 #FFF286 #D0FF86
triadic
#FFF286 #86FFF2 #F286FF
tetradic
#FFF286 #86FFB6 #8693FF #FF86D0
square
#FFF286 #86FFB6 #8693FF #FF86D0
split-complementary
#FFF286 #86D0FF #B686FF
monochromatic
#FFE50C #FFEB49 #FFF286 #FFF9C3 #FFFCE0

Accessibility & contrast

On white

1.15
#FFF286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#FFF286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF286
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF286#FFFFFF#000000##000000
##FFF2861.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7D
Deuteranopia (green-blind)
#FFF28B
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fff286;
/* rgb */ color: rgb(255, 242, 134);
/* oklch */ color: oklch(94.9% 0.130 102.4);
Tailwind
colors: {
  custom: {
    50: '#fff6ab',
    500: '#fff286',
    950: '#000000',
  },
}
SCSS
$custom: #fff286;
$custom-light: #fff6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fff286",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 53.554,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.94942,
    "c": 0.13027,
    "h": 102.4
  },
  "luminance": 0.86485
}

Semantic roles & 50–950 ramp

primary
#FFF286
secondary
#4A5ADF
accent
#19E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF286

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

Preview Lab → · Contrast checker → · Palette generator →

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