#FBF586#FBF586

#FBF586 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.2% C 0.133 H 105.9°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#FBF586
RGBrgb(251, 245, 134)
HSLhsl(57, 94%, 75%)
HSVhsv(57, 47%, 98%)
CMYKcmyk(0%, 2.4%, 46.6%, 1.6%)
CIE-LABlab(94.97, -12.72, 53.79)
CIE-LCHlch(94.97, 55.27, 103.30°)
OKLaboklab(95.22% -0.0366 0.1283)
OKLCHoklch(95.22% 0.133 105.9)
XYZxyz(76.7409, 87.5373, 35.4035)
Luminance0.8753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF586 #868CFB
analogous
#FBBA86 #FBF586 #C6FB86
triadic
#FBF586 #86FBF5 #F586FB
tetradic
#FBF586 #86FBBA #868CFB #FB86C6
square
#FBF586 #86FBBA #868CFB #FB86C6
split-complementary
#FBF586 #86C6FB #BA86FB
monochromatic
#F7EB10 #F9F04B #FBF586 #FDFAC1 #FEFDE1

Accessibility & contrast

On white

1.13
#FBF586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#FBF586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF586
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF586#FFFFFF#000000##000000
##FBF5861.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7C
Deuteranopia (green-blind)
#FFF38B
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf586;
/* rgb */ color: rgb(251, 245, 134);
/* oklch */ color: oklch(95.2% 0.133 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff8ab',
    500: '#fbf586',
    950: '#000000',
  },
}
SCSS
$custom: #fbf586;
$custom-light: #fff8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf586",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 56.923,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95218,
    "c": 0.13341,
    "h": 105.9
  },
  "luminance": 0.87535
}

Semantic roles & 50–950 ramp

primary
#FBF586
secondary
#4C53DA
accent
#0CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF586

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

Preview Lab → · Contrast checker → · Palette generator →

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