#FBF985#FBF985

#FBF985 is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.0% C 0.139 H 107.9°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FBF985
RGBrgb(251, 249, 133)
HSLhsl(59, 94%, 75%)
HSVhsv(59, 47%, 98%)
CMYKcmyk(0%, 0.8%, 47%, 1.6%)
CIE-LABlab(95.98, -14.76, 55.48)
CIE-LCHlch(95.98, 57.41, 104.90°)
OKLaboklab(96.02% -0.0425 0.1319)
OKLCHoklch(96.02% 0.139 107.9)
XYZxyz(77.8947, 89.9560, 35.4457)
Luminance0.8995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF985 #8587FB
analogous
#FBBE85 #FBF985 #C2FB85
triadic
#FBF985 #85FBF9 #F985FB
tetradic
#FBF985 #85FBBE #8587FB #FB85C2
square
#FBF985 #85FBBE #8587FB #FB85C2
split-complementary
#FBF985 #85C2FB #BE85FB
monochromatic
#F7F30E #F9F64A #FBF985 #FDFCC0 #FEFEE1

Accessibility & contrast

On white

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

On black

18.99
#FBF985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF985
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF985#FFFFFF#000000##000000
##FBF9851.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17B
Deuteranopia (green-blind)
#FFF68B
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf985;
/* rgb */ color: rgb(251, 249, 133);
/* oklch */ color: oklch(96.0% 0.139 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffbab',
    500: '#fbf985',
    950: '#000000',
  },
}
SCSS
$custom: #fbf985;
$custom-light: #fffbab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf985",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 133
  },
  "hsl": {
    "h": 58.983,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.9602,
    "c": 0.13863,
    "h": 107.9
  },
  "luminance": 0.89954
}

Semantic roles & 50–950 ramp

primary
#FBF985
secondary
#4B4DD9
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF985

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

Preview Lab → · Contrast checker → · Palette generator →

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