#FBFF7A#FBFF7A

#FBFF7A is a very light, vivid yellow. Relative luminance 0.934; OKLCH L 97.1% C 0.155 H 110.5°. Best body text is #000000 at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#FBFF7A
RGBrgb(251, 255, 122)
HSLhsl(62, 100%, 74%)
HSVhsv(62, 52%, 100%)
CMYKcmyk(1.6%, 0%, 52.2%, 0%)
CIE-LABlab(97.40, -18.59, 62.17)
CIE-LCHlch(97.40, 64.89, 106.64°)
OKLaboklab(97.12% -0.0545 0.1455)
OKLCHoklch(97.12% 0.155 110.5)
XYZxyz(79.0583, 93.4361, 32.2789)
Luminance0.9343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFF7A #7E7AFF
analogous
#FFC17A #FBFF7A #B9FF7A
triadic
#FBFF7A #7AFBFF #FF7AFB
tetradic
#FBFF7A #7AFFC1 #7E7AFF #FF7AB9
square
#FBFF7A #7AFFC1 #7E7AFF #FF7AB9
split-complementary
#FBFF7A #7AB9FF #C17AFF
monochromatic
#F7FF00 #F9FF3D #FBFF7A #FDFFB7 #FEFFE0

Accessibility & contrast

On white

1.07
#FBFF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.69
#FBFF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFF7A
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFF7A#FFFFFF#000000##000000
##FBFF7A1.001.0719.6919.69
#FFFFFF1.071.0021.0021.00
#00000019.6921.001.001.00
##00000019.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF56D
Deuteranopia (green-blind)
#FFFA81
Tritanopia (blue-blind)
#FFF2E1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fbff7a;
/* rgb */ color: rgb(251, 255, 122);
/* oklch */ color: oklch(97.1% 0.155 110.5);
Tailwind
colors: {
  custom: {
    50: '#ffffa4',
    500: '#fbff7a',
    950: '#000000',
  },
}
SCSS
$custom: #fbff7a;
$custom-light: #ffffa4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbff7a",
  "rgb": {
    "r": 251,
    "g": 255,
    "b": 122
  },
  "hsl": {
    "h": 61.805,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.97118,
    "c": 0.1554,
    "h": 110.5
  },
  "luminance": 0.93434
}

Semantic roles & 50–950 ramp

primary
#FBFF7A
secondary
#4540DD
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBFF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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