#FBD45F#FBD45F

#FBD45F is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.2% C 0.141 H 90.8°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#FBD45F
RGBrgb(251, 212, 95)
HSLhsl(45, 95%, 68%)
HSVhsv(45, 62%, 98%)
CMYKcmyk(0%, 15.5%, 62.2%, 1.6%)
CIE-LABlab(86.22, 0.81, 61.45)
CIE-LCHlch(86.22, 61.45, 89.25°)
OKLaboklab(88.16% -0.0019 0.1409)
OKLCHoklch(88.16% 0.141 90.8)
XYZxyz(65.3959, 68.4260, 20.5873)
Luminance0.6842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD45F #5F86FB
analogous
#FB865F #FBD45F #D4FB5F
triadic
#FBD45F #5FFBD4 #D45FFB
tetradic
#FBD45F #5FFB86 #5F86FB #FB5FD4
square
#FBD45F #5FFB86 #5F86FB #FB5FD4
split-complementary
#FBD45F #5FD4FB #865FFB
monochromatic
#DAA505 #FAC423 #FBD45F #FCE49B #FEF4D6

Accessibility & contrast

On white

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

On black

14.68
#FBD45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD45F
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD45F#FFFFFF#000000##000000
##FBD45F1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#F3DC64
Tritanopia (blue-blind)
#FFC4BB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #fbd45f;
/* rgb */ color: rgb(251, 212, 95);
/* oklch */ color: oklch(88.2% 0.141 90.8);
Tailwind
colors: {
  custom: {
    50: '#ffe091',
    500: '#fbd45f',
    950: '#000000',
  },
}
SCSS
$custom: #fbd45f;
$custom-light: #ffe091;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd45f",
  "rgb": {
    "r": 251,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 45,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88159,
    "c": 0.14088,
    "h": 90.8
  },
  "luminance": 0.68422
}

Semantic roles & 50–950 ramp

primary
#FBD45F
secondary
#2A55D4
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #FBD45F

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

Preview Lab → · Contrast checker → · Palette generator →

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