#FBD968#FBD968

#FBD968 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.2% C 0.137 H 92.7°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#FBD968
RGBrgb(251, 217, 104)
HSLhsl(46, 95%, 70%)
HSVhsv(46, 59%, 98%)
CMYKcmyk(0%, 13.5%, 58.6%, 1.6%)
CIE-LABlab(87.55, -1.14, 58.93)
CIE-LCHlch(87.55, 58.94, 91.11°)
OKLaboklab(89.24% -0.0064 0.1366)
OKLCHoklch(89.24% 0.137 92.7)
XYZxyz(67.0981, 71.1378, 23.2907)
Luminance0.7113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD968 #688AFB
analogous
#FB8F68 #FBD968 #D4FB68
triadic
#FBD968 #68FBD9 #D968FB
tetradic
#FBD968 #68FB8F #688AFB #FB68D4
square
#FBD968 #68FB8F #688AFB #FB68D4
split-complementary
#FBD968 #68D4FB #8F68FB
monochromatic
#E3B006 #F9CA2C #FBD968 #FDE8A4 #FEF7DF

Accessibility & contrast

On white

1.38
#FBD968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#FBD968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD968
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD968#FFFFFF#000000##000000
##FBD9681.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD65D
Deuteranopia (green-blind)
#F6E06D
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #fbd968;
/* rgb */ color: rgb(251, 217, 104);
/* oklch */ color: oklch(89.2% 0.137 92.7);
Tailwind
colors: {
  custom: {
    50: '#ffe497',
    500: '#fbd968',
    950: '#000000',
  },
}
SCSS
$custom: #fbd968;
$custom-light: #ffe497;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd968",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 46.122,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89238,
    "c": 0.13676,
    "h": 92.7
  },
  "luminance": 0.71134
}

Semantic roles & 50–950 ramp

primary
#FBD968
secondary
#3258D6
accent
#35E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FBD968

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

Preview Lab → · Contrast checker → · Palette generator →

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