#FBF388#FBF388

#FBF388 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.8% C 0.129 H 104.8°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#FBF388
RGBrgb(251, 243, 136)
HSLhsl(56, 93%, 76%)
HSVhsv(56, 46%, 98%)
CMYKcmyk(0%, 3.2%, 45.8%, 1.6%)
CIE-LABlab(94.48, -11.55, 52.26)
CIE-LCHlch(94.48, 53.52, 102.46°)
OKLaboklab(94.84% -0.0331 0.125)
OKLCHoklch(94.84% 0.129 104.8)
XYZxyz(76.2799, 86.3901, 35.9445)
Luminance0.8639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF388 #8890FB
analogous
#FBB988 #FBF388 #C9FB88
triadic
#FBF388 #88FBF3 #F388FB
tetradic
#FBF388 #88FBB9 #8890FB #FB88C9
square
#FBF388 #88FBB9 #8890FB #FB88C9
split-complementary
#FBF388 #88C9FB #B988FB
monochromatic
#F7E712 #F9ED4D #FBF388 #FDF9C3 #FEFCE1

Accessibility & contrast

On white

1.15
#FBF388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.28
#FBF388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF388
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF388#FFFFFF#000000##000000
##FBF3881.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7F
Deuteranopia (green-blind)
#FFF28D
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf388;
/* rgb */ color: rgb(251, 243, 136);
/* oklch */ color: oklch(94.8% 0.129 104.8);
Tailwind
colors: {
  custom: {
    50: '#fef6ad',
    500: '#fbf388',
    950: '#000000',
  },
}
SCSS
$custom: #fbf388;
$custom-light: #fef6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf388",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 136
  },
  "hsl": {
    "h": 55.826,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.94839,
    "c": 0.12934,
    "h": 104.8
  },
  "luminance": 0.86388
}

Semantic roles & 50–950 ramp

primary
#FBF388
secondary
#4D57DA
accent
#10E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF388

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

Preview Lab → · Contrast checker → · Palette generator →

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