#FBF585#FBF585

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

Color values

HEX#FBF585
RGBrgb(251, 245, 133)
HSLhsl(57, 94%, 75%)
HSVhsv(57, 47%, 98%)
CMYKcmyk(0%, 2.4%, 47%, 1.6%)
CIE-LABlab(94.95, -12.81, 54.25)
CIE-LCHlch(94.95, 55.74, 103.28°)
OKLaboklab(95.21% -0.0369 0.1292)
OKLCHoklch(95.21% 0.134 106)
XYZxyz(76.6715, 87.5096, 35.0380)
Luminance0.8751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF585 #858BFB
analogous
#FBBA85 #FBF585 #C6FB85
triadic
#FBF585 #85FBF5 #F585FB
tetradic
#FBF585 #85FBBA #858BFB #FB85C6
square
#FBF585 #85FBBA #858BFB #FB85C6
split-complementary
#FBF585 #85C6FB #BA85FB
monochromatic
#F7EB0E #F9F04A #FBF585 #FDFAC0 #FEFDE1

Accessibility & contrast

On white

1.14
#FBF585 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.50
#FBF585 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF585
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF585#FFFFFF#000000##000000
##FBF5851.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf585;
/* rgb */ color: rgb(251, 245, 133);
/* oklch */ color: oklch(95.2% 0.134 106.0);
Tailwind
colors: {
  custom: {
    50: '#fff8ab',
    500: '#fbf585',
    950: '#000000',
  },
}
SCSS
$custom: #fbf585;
$custom-light: #fff8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf585",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 133
  },
  "hsl": {
    "h": 56.949,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95205,
    "c": 0.1344,
    "h": 106
  },
  "luminance": 0.87508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF585

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

Preview Lab → · Contrast checker → · Palette generator →

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