#FBD457#FBD457

#FBD457 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 88.1% C 0.147 H 91.6°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#FBD457
RGBrgb(251, 212, 87)
HSLhsl(46, 95%, 66%)
HSVhsv(46, 65%, 98%)
CMYKcmyk(0%, 15.5%, 65.3%, 1.6%)
CIE-LABlab(86.15, 0.33, 64.81)
CIE-LCHlch(86.15, 64.81, 89.71°)
OKLaboklab(88.08% -0.0042 0.1469)
OKLCHoklch(88.08% 0.147 91.6)
XYZxyz(65.0507, 68.2880, 18.7695)
Luminance0.6828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD457 #577EFB
analogous
#FB8257 #FBD457 #D0FB57
triadic
#FBD457 #57FBD4 #D457FB
tetradic
#FBD457 #57FB82 #577EFB #FB57D0
square
#FBD457 #57FB82 #577EFB #FB57D0
split-complementary
#FBD457 #57D0FB #8257FB
monochromatic
#D3A205 #FAC51B #FBD457 #FCE393 #FEF3CF

Accessibility & contrast

On white

1.43
#FBD457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#FBD457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD457
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD457#FFFFFF#000000##000000
##FBD4571.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD148
Deuteranopia (green-blind)
#F3DC5D
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #fbd457;
/* rgb */ color: rgb(251, 212, 87);
/* oklch */ color: oklch(88.1% 0.147 91.6);
Tailwind
colors: {
  custom: {
    50: '#ffe08c',
    500: '#fbd457',
    950: '#000000',
  },
}
SCSS
$custom: #fbd457;
$custom-light: #ffe08c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd457",
  "rgb": {
    "r": 251,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 45.732,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.88083,
    "c": 0.14692,
    "h": 91.6
  },
  "luminance": 0.68284
}

Semantic roles & 50–950 ramp

primary
#FBD457
secondary
#2950CD
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FBD457

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

Preview Lab → · Contrast checker → · Palette generator →

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