#FBFA5F#FBFA5F

#FBFA5F is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.8% C 0.172 H 108.9°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#FBFA5F
RGBrgb(251, 250, 95)
HSLhsl(60, 95%, 68%)
HSVhsv(60, 62%, 98%)
CMYKcmyk(0%, 0.4%, 62.2%, 1.6%)
CIE-LABlab(95.88, -18.07, 71.85)
CIE-LCHlch(95.88, 74.09, 104.11°)
OKLaboklab(95.82% -0.0558 0.1629)
OKLCHoklch(95.82% 0.172 108.9)
XYZxyz(76.0373, 89.7088, 24.1344)
Luminance0.8971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA5F #5F60FB
analogous
#FBAC5F #FBFA5F #AEFB5F
triadic
#FBFA5F #5FFBFA #FA5FFB
tetradic
#FBFA5F #5FFBAC #5F60FB #FB5FAE
square
#FBFA5F #5FFBAC #5F60FB #FB5FAE
split-complementary
#FBFA5F #5FAEFB #AC5FFB
monochromatic
#DAD905 #FAF823 #FBFA5F #FCFC9B #FEFED6

Accessibility & contrast

On white

1.11
#FBFA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.94
#FBFA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA5F
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA5F#FFFFFF#000000##000000
##FBFA5F1.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04B
Deuteranopia (green-blind)
#FFF669
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbfa5f;
/* rgb */ color: rgb(251, 250, 95);
/* oklch */ color: oklch(95.8% 0.172 108.9);
Tailwind
colors: {
  custom: {
    50: '#fffb93',
    500: '#fbfa5f',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa5f;
$custom-light: #fffb93;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa5f",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 95
  },
  "hsl": {
    "h": 59.615,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.95822,
    "c": 0.17221,
    "h": 108.9
  },
  "luminance": 0.89707
}

Semantic roles & 50–950 ramp

primary
#FBFA5F
secondary
#2A2CD4
accent
#01E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBFA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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