#FBF790#FBF790

#FBF790 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.8% C 0.125 H 106.6°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#FBF790
RGBrgb(251, 247, 144)
HSLhsl(58, 93%, 77%)
HSVhsv(58, 43%, 98%)
CMYKcmyk(0%, 1.6%, 42.6%, 1.6%)
CIE-LABlab(95.60, -12.76, 49.83)
CIE-LCHlch(95.60, 51.43, 104.36°)
OKLaboklab(95.76% -0.0358 0.1202)
OKLCHoklch(95.76% 0.125 106.6)
XYZxyz(78.0799, 89.0463, 39.4547)
Luminance0.8904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF790 #9094FB
analogous
#FBC290 #FBF790 #CAFB90
triadic
#FBF790 #90FBF7 #F790FB
tetradic
#FBF790 #90FBC2 #9094FB #FB90CA
square
#FBF790 #90FBC2 #9094FB #FB90CA
split-complementary
#FBF790 #90CAFB #C290FB
monochromatic
#F7EE1A #F9F355 #FBF790 #FDFBCB #FEFDE1

Accessibility & contrast

On white

1.12
#FBF790 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.81
#FBF790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF790
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF790#FFFFFF#000000##000000
##FBF7901.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF088
Deuteranopia (green-blind)
#FFF595
Tritanopia (blue-blind)
#FFEBDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf790;
/* rgb */ color: rgb(251, 247, 144);
/* oklch */ color: oklch(95.8% 0.125 106.6);
Tailwind
colors: {
  custom: {
    50: '#fef9b2',
    500: '#fbf790',
    950: '#000000',
  },
}
SCSS
$custom: #fbf790;
$custom-light: #fef9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf790",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 144
  },
  "hsl": {
    "h": 57.757,
    "s": 93.043,
    "l": 77.451
  },
  "oklch": {
    "l": 0.95762,
    "c": 0.12537,
    "h": 106.6
  },
  "luminance": 0.89044
}

Semantic roles & 50–950 ramp

primary
#FBF790
secondary
#5459DB
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF790

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

Preview Lab → · Contrast checker → · Palette generator →

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