#FBFA7F#FBFA7F

#FBFA7F is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.1% C 0.145 H 108.4°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#FBFA7F
RGBrgb(251, 250, 127)
HSLhsl(60, 94%, 74%)
HSVhsv(60, 49%, 98%)
CMYKcmyk(0%, 0.4%, 49.4%, 1.6%)
CIE-LABlab(96.17, -15.76, 58.47)
CIE-LCHlch(96.17, 60.56, 105.09°)
OKLaboklab(96.15% -0.046 0.138)
OKLCHoklch(96.15% 0.145 108.4)
XYZxyz(77.8019, 90.4147, 33.4279)
Luminance0.9041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA7F #7F80FB
analogous
#FBBC7F #FBFA7F #BEFB7F
triadic
#FBFA7F #7FFBFA #FA7FFB
tetradic
#FBFA7F #7FFBBC #7F80FB #FB7FBE
square
#FBFA7F #7FFBBC #7F80FB #FB7FBE
split-complementary
#FBFA7F #7FBEFB #BC7FFB
monochromatic
#F7F508 #F9F844 #FBFA7F #FDFCBA #FEFEE1

Accessibility & contrast

On white

1.10
#FBFA7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.08
#FBFA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA7F
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA7F#FFFFFF#000000##000000
##FBFA7F1.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF174
Deuteranopia (green-blind)
#FFF685
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbfa7f;
/* rgb */ color: rgb(251, 250, 127);
/* oklch */ color: oklch(96.1% 0.145 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffba7',
    500: '#fbfa7f',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa7f;
$custom-light: #fffba7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa7f",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 127
  },
  "hsl": {
    "h": 59.516,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.96149,
    "c": 0.14544,
    "h": 108.4
  },
  "luminance": 0.90413
}

Semantic roles & 50–950 ramp

primary
#FBFA7F
secondary
#4647D9
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBFA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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