#FBF185#FBF185

#FBF185 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.130 H 103.9°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#FBF185
RGBrgb(251, 241, 133)
HSLhsl(55, 94%, 75%)
HSVhsv(55, 47%, 98%)
CMYKcmyk(0%, 4%, 47%, 1.6%)
CIE-LABlab(93.93, -10.84, 53.01)
CIE-LCHlch(93.93, 54.11, 101.56°)
OKLaboklab(94.39% -0.0313 0.1265)
OKLCHoklch(94.39% 0.13 103.9)
XYZxyz(75.4745, 85.1155, 34.6389)
Luminance0.8511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF185 #858FFB
analogous
#FBB685 #FBF185 #CAFB85
triadic
#FBF185 #85FBF1 #F185FB
tetradic
#FBF185 #85FBB6 #858FFB #FB85CA
square
#FBF185 #85FBB6 #858FFB #FB85CA
split-complementary
#FBF185 #85CAFB #B685FB
monochromatic
#F7E30E #F9EA4A #FBF185 #FDF8C0 #FEFCE1

Accessibility & contrast

On white

1.17
#FBF185 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#FBF185 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF185
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF185#FFFFFF#000000##000000
##FBF1851.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7C
Deuteranopia (green-blind)
#FFF08A
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf185;
/* rgb */ color: rgb(251, 241, 133);
/* oklch */ color: oklch(94.4% 0.130 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff5aa',
    500: '#fbf185',
    950: '#000000',
  },
}
SCSS
$custom: #fbf185;
$custom-light: #fff5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf185",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 133
  },
  "hsl": {
    "h": 54.915,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94394,
    "c": 0.13031,
    "h": 103.9
  },
  "luminance": 0.85113
}

Semantic roles & 50–950 ramp

primary
#FBF185
secondary
#4B57D9
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF185

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

Preview Lab → · Contrast checker → · Palette generator →

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