#FBF592#FBF592

#FBF592 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.4% C 0.121 H 105.4°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#FBF592
RGBrgb(251, 245, 146)
HSLhsl(57, 93%, 78%)
HSVhsv(57, 42%, 98%)
CMYKcmyk(0%, 2.4%, 41.8%, 1.6%)
CIE-LABlab(95.12, -11.58, 48.26)
CIE-LCHlch(95.12, 49.63, 103.49°)
OKLaboklab(95.39% -0.0322 0.1168)
OKLCHoklch(95.39% 0.121 105.4)
XYZxyz(77.6258, 87.8913, 40.0641)
Luminance0.8789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF592 #9298FB
analogous
#FBC092 #FBF592 #CDFB92
triadic
#FBF592 #92FBF5 #F592FB
tetradic
#FBF592 #92FBC0 #9298FB #FB92CD
square
#FBF592 #92FBC0 #9298FB #FB92CD
split-complementary
#FBF592 #92CDFB #C092FB
monochromatic
#F7EA1C #F9F057 #FBF592 #FDFACD #FEFCE1

Accessibility & contrast

On white

1.13
#FBF592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#FBF592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF592
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF592#FFFFFF#000000##000000
##FBF5921.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8A
Deuteranopia (green-blind)
#FFF396
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf592;
/* rgb */ color: rgb(251, 245, 146);
/* oklch */ color: oklch(95.4% 0.121 105.4);
Tailwind
colors: {
  custom: {
    50: '#fef8b3',
    500: '#fbf592',
    950: '#000000',
  },
}
SCSS
$custom: #fbf592;
$custom-light: #fef8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf592",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 146
  },
  "hsl": {
    "h": 56.571,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.95385,
    "c": 0.12113,
    "h": 105.4
  },
  "luminance": 0.87889
}

Semantic roles & 50–950 ramp

primary
#FBF592
secondary
#565EDB
accent
#0DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF592

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

Preview Lab → · Contrast checker → · Palette generator →

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