#FBD45C#FBD45C

#FBD45C is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.1% C 0.143 H 91.1°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#FBD45C
RGBrgb(251, 212, 92)
HSLhsl(45, 95%, 67%)
HSVhsv(45, 63%, 98%)
CMYKcmyk(0%, 15.5%, 63.3%, 1.6%)
CIE-LABlab(86.19, 0.62, 62.73)
CIE-LCHlch(86.19, 62.73, 89.43°)
OKLaboklab(88.13% -0.0028 0.1432)
OKLCHoklch(88.13% 0.143 91.1)
XYZxyz(65.2621, 68.3725, 19.8829)
Luminance0.6837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD45C #5C83FB
analogous
#FB855C #FBD45C #D3FB5C
triadic
#FBD45C #5CFBD4 #D45CFB
tetradic
#FBD45C #5CFB85 #5C83FB #FB5CD3
square
#FBD45C #5CFB85 #5C83FB #FB5CD3
split-complementary
#FBD45C #5CD3FB #855CFB
monochromatic
#D7A405 #FAC420 #FBD45C #FCE498 #FEF4D3

Accessibility & contrast

On white

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

On black

14.67
#FBD45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD45C
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD45C#FFFFFF#000000##000000
##FBD45C1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14E
Deuteranopia (green-blind)
#F3DC61
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #fbd45c;
/* rgb */ color: rgb(251, 212, 92);
/* oklch */ color: oklch(88.1% 0.143 91.1);
Tailwind
colors: {
  custom: {
    50: '#ffe08f',
    500: '#fbd45c',
    950: '#000000',
  },
}
SCSS
$custom: #fbd45c;
$custom-light: #ffe08f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd45c",
  "rgb": {
    "r": 251,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 45.283,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88129,
    "c": 0.1432,
    "h": 91.1
  },
  "luminance": 0.68369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBD45C

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

Preview Lab → · Contrast checker → · Palette generator →

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