#FBFA7C#FBFA7C

#FBFA7C is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.1% C 0.148 H 108.5°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#FBFA7C
RGBrgb(251, 250, 124)
HSLhsl(60, 94%, 74%)
HSVhsv(60, 51%, 98%)
CMYKcmyk(0%, 0.4%, 50.6%, 1.6%)
CIE-LABlab(96.14, -16.01, 59.80)
CIE-LCHlch(96.14, 61.90, 104.99°)
OKLaboklab(96.11% -0.047 0.1406)
OKLCHoklch(96.11% 0.148 108.5)
XYZxyz(77.6093, 90.3376, 32.4135)
Luminance0.9034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA7C #7C7DFB
analogous
#FBBA7C #FBFA7C #BCFB7C
triadic
#FBFA7C #7CFBFA #FA7CFB
tetradic
#FBFA7C #7CFBBA #7C7DFB #FB7CBC
square
#FBFA7C #7CFBBA #7C7DFB #FB7CBC
split-complementary
#FBFA7C #7CBCFB #BA7CFB
monochromatic
#F5F307 #F9F841 #FBFA7C #FDFCB7 #FEFEE1

Accessibility & contrast

On white

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

On black

19.07
#FBFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA7C
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA7C#FFFFFF#000000##000000
##FBFA7C1.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF170
Deuteranopia (green-blind)
#FFF682
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbfa7c;
/* rgb */ color: rgb(251, 250, 124);
/* oklch */ color: oklch(96.1% 0.148 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffba5',
    500: '#fbfa7c',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa7c;
$custom-light: #fffba5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa7c",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 59.528,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.96114,
    "c": 0.14823,
    "h": 108.5
  },
  "luminance": 0.90336
}

Semantic roles & 50–950 ramp

primary
#FBFA7C
secondary
#4344D8
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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