#FBD55F#FBD55F

#FBD55F is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.4% C 0.141 H 91.4°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#FBD55F
RGBrgb(251, 213, 95)
HSLhsl(45, 95%, 68%)
HSVhsv(45, 62%, 98%)
CMYKcmyk(0%, 15.1%, 62.2%, 1.6%)
CIE-LABlab(86.47, 0.30, 61.72)
CIE-LCHlch(86.47, 61.72, 89.72°)
OKLaboklab(88.35% -0.0034 0.1415)
OKLCHoklch(88.35% 0.141 91.4)
XYZxyz(65.6466, 68.9275, 20.6708)
Luminance0.6892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD55F #5F85FB
analogous
#FB875F #FBD55F #D3FB5F
triadic
#FBD55F #5FFBD5 #D55FFB
tetradic
#FBD55F #5FFB87 #5F85FB #FB5FD3
square
#FBD55F #5FFB87 #5F85FB #FB5FD3
split-complementary
#FBD55F #5FD3FB #875FFB
monochromatic
#DAA605 #FAC523 #FBD55F #FCE59B #FEF4D6

Accessibility & contrast

On white

1.42
#FBD55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#FBD55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD55F
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD55F#FFFFFF#000000##000000
##FBD55F1.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#F4DD64
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #fbd55f;
/* rgb */ color: rgb(251, 213, 95);
/* oklch */ color: oklch(88.4% 0.141 91.4);
Tailwind
colors: {
  custom: {
    50: '#ffe191',
    500: '#fbd55f',
    950: '#000000',
  },
}
SCSS
$custom: #fbd55f;
$custom-light: #ffe191;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd55f",
  "rgb": {
    "r": 251,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 45.385,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88355,
    "c": 0.14149,
    "h": 91.4
  },
  "luminance": 0.68924
}

Semantic roles & 50–950 ramp

primary
#FBD55F
secondary
#2A54D4
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #FBD55F

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

Preview Lab → · Contrast checker → · Palette generator →

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