#FBF97E#FBF97E

#FBF97E is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.145 H 108.0°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#FBF97E
RGBrgb(251, 249, 126)
HSLhsl(59, 94%, 74%)
HSVhsv(59, 50%, 98%)
CMYKcmyk(0%, 0.8%, 49.8%, 1.6%)
CIE-LABlab(95.90, -15.36, 58.61)
CIE-LCHlch(95.90, 60.59, 104.69°)
OKLaboklab(95.93% -0.0449 0.1382)
OKLCHoklch(95.93% 0.145 108)
XYZxyz(77.4271, 89.7689, 32.9831)
Luminance0.8977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF97E #7E80FB
analogous
#FBBB7E #FBF97E #BFFB7E
triadic
#FBF97E #7EFBF9 #F97EFB
tetradic
#FBF97E #7EFBBB #7E80FB #FB7EBF
square
#FBF97E #7EFBBB #7E80FB #FB7EBF
split-complementary
#FBF97E #7EBFFB #BB7EFB
monochromatic
#F7F308 #F9F643 #FBF97E #FDFCB9 #FEFEE1

Accessibility & contrast

On white

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

On black

18.95
#FBF97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF97E
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF97E#FFFFFF#000000##000000
##FBF97E1.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF173
Deuteranopia (green-blind)
#FFF584
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf97e;
/* rgb */ color: rgb(251, 249, 126);
/* oklch */ color: oklch(95.9% 0.145 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffba6',
    500: '#fbf97e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf97e;
$custom-light: #fffba6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf97e",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 59.04,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95933,
    "c": 0.14532,
    "h": 108
  },
  "luminance": 0.89767
}

Semantic roles & 50–950 ramp

primary
#FBF97E
secondary
#4547D9
accent
#04E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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