#FBF389#FBF389

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

Color values

HEX#FBF389
RGBrgb(251, 243, 137)
HSLhsl(56, 93%, 76%)
HSVhsv(56, 45%, 98%)
CMYKcmyk(0%, 3.2%, 45.4%, 1.6%)
CIE-LABlab(94.49, -11.46, 51.80)
CIE-LCHlch(94.49, 53.05, 102.47°)
OKLaboklab(94.85% -0.0327 0.1241)
OKLCHoklch(94.85% 0.128 104.8)
XYZxyz(76.3513, 86.4187, 36.3206)
Luminance0.8642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF389 #8991FB
analogous
#FBBA89 #FBF389 #CAFB89
triadic
#FBF389 #89FBF3 #F389FB
tetradic
#FBF389 #89FBBA #8991FB #FB89CA
square
#FBF389 #89FBBA #8991FB #FB89CA
split-complementary
#FBF389 #89CAFB #BA89FB
monochromatic
#F7E713 #F9ED4E #FBF389 #FDF9C4 #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF389#FFFFFF#000000##000000
##FBF3891.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)
#FFEC80
Deuteranopia (green-blind)
#FFF28E
Tritanopia (blue-blind)
#FFE7DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf389;
/* rgb */ color: rgb(251, 243, 137);
/* oklch */ color: oklch(94.9% 0.128 104.8);
Tailwind
colors: {
  custom: {
    50: '#fef6ad',
    500: '#fbf389',
    950: '#000000',
  },
}
SCSS
$custom: #fbf389;
$custom-light: #fef6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf389",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 137
  },
  "hsl": {
    "h": 55.789,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.94853,
    "c": 0.12833,
    "h": 104.8
  },
  "luminance": 0.86417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF389

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

Preview Lab → · Contrast checker → · Palette generator →

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