#FBF456#FBF456

#FBF456 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.173 H 106.8°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#FBF456
RGBrgb(251, 244, 86)
HSLhsl(57, 95%, 66%)
HSVhsv(57, 66%, 98%)
CMYKcmyk(0%, 2.8%, 65.7%, 1.6%)
CIE-LABlab(94.26, -15.68, 73.66)
CIE-LCHlch(94.26, 75.31, 102.01°)
OKLaboklab(94.52% -0.0499 0.1654)
OKLCHoklch(94.52% 0.173 106.8)
XYZxyz(73.8168, 85.8850, 21.4914)
Luminance0.8588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF456 #565DFB
analogous
#FBA256 #FBF456 #AFFB56
triadic
#FBF456 #56FBF4 #F456FB
tetradic
#FBF456 #56FBA2 #565DFB #FB56AF
square
#FBF456 #56FBA2 #565DFB #FB56AF
split-complementary
#FBF456 #56AFFB #A256FB
monochromatic
#D2C905 #FAF01A #FBF456 #FCF892 #FEFCCE

Accessibility & contrast

On white

1.16
#FBF456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#FBF456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF456
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF456#FFFFFF#000000##000000
##FBF4561.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB40
Deuteranopia (green-blind)
#FFF160
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf456;
/* rgb */ color: rgb(251, 244, 86);
/* oklch */ color: oklch(94.5% 0.173 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff78e',
    500: '#fbf456',
    950: '#000000',
  },
}
SCSS
$custom: #fbf456;
$custom-light: #fff78e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf456",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 86
  },
  "hsl": {
    "h": 57.455,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94515,
    "c": 0.1728,
    "h": 106.8
  },
  "luminance": 0.85882
}

Semantic roles & 50–950 ramp

primary
#FBF456
secondary
#2930CC
accent
#0AE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FBF456

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

Preview Lab → · Contrast checker → · Palette generator →

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