#FBF286#FBF286

#FBF286 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.6% C 0.130 H 104.4°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#FBF286
RGBrgb(251, 242, 134)
HSLhsl(55, 94%, 75%)
HSVhsv(55, 47%, 98%)
CMYKcmyk(0%, 3.6%, 46.6%, 1.6%)
CIE-LABlab(94.20, -11.24, 52.86)
CIE-LCHlch(94.20, 54.04, 102.01°)
OKLaboklab(94.61% -0.0324 0.1262)
OKLCHoklch(94.61% 0.13 104.4)
XYZxyz(75.8407, 85.7369, 35.1035)
Luminance0.8573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF286 #868FFB
analogous
#FBB886 #FBF286 #C9FB86
triadic
#FBF286 #86FBF2 #F286FB
tetradic
#FBF286 #86FBB8 #868FFB #FB86C9
square
#FBF286 #86FBB8 #868FFB #FB86C9
split-complementary
#FBF286 #86C9FB #B886FB
monochromatic
#F7E510 #F9EC4B #FBF286 #FDF8C1 #FEFCE1

Accessibility & contrast

On white

1.16
#FBF286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#FBF286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF286
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF286#FFFFFF#000000##000000
##FBF2861.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7D
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf286;
/* rgb */ color: rgb(251, 242, 134);
/* oklch */ color: oklch(94.6% 0.130 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff6ab',
    500: '#fbf286',
    950: '#000000',
  },
}
SCSS
$custom: #fbf286;
$custom-light: #fff6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf286",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 55.385,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94609,
    "c": 0.13031,
    "h": 104.4
  },
  "luminance": 0.85735
}

Semantic roles & 50–950 ramp

primary
#FBF286
secondary
#4C57DA
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF286

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

Preview Lab → · Contrast checker → · Palette generator →

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