#FBF68C#FBF68C

#FBF68C is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.5% C 0.128 H 106.2°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#FBF68C
RGBrgb(251, 246, 140)
HSLhsl(57, 93%, 77%)
HSVhsv(57, 44%, 98%)
CMYKcmyk(0%, 2%, 44.2%, 1.6%)
CIE-LABlab(95.29, -12.65, 51.36)
CIE-LCHlch(95.29, 52.89, 103.84°)
OKLaboklab(95.5% -0.0358 0.1233)
OKLCHoklch(95.5% 0.128 106.2)
XYZxyz(77.4747, 88.3162, 37.7714)
Luminance0.8831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF68C #8C91FB
analogous
#FBBF8C #FBF68C #C9FB8C
triadic
#FBF68C #8CFBF6 #F68CFB
tetradic
#FBF68C #8CFBBF #8C91FB #FB8CC9
square
#FBF68C #8CFBBF #8C91FB #FB8CC9
split-complementary
#FBF68C #8CC9FB #BF8CFB
monochromatic
#F7ED16 #F9F151 #FBF68C #FDFBC7 #FEFDE1

Accessibility & contrast

On white

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

On black

18.66
#FBF68C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF68C
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF68C#FFFFFF#000000##000000
##FBF68C1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF83
Deuteranopia (green-blind)
#FFF491
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf68c;
/* rgb */ color: rgb(251, 246, 140);
/* oklch */ color: oklch(95.5% 0.128 106.2);
Tailwind
colors: {
  custom: {
    50: '#fef9af',
    500: '#fbf68c',
    950: '#000000',
  },
}
SCSS
$custom: #fbf68c;
$custom-light: #fef9af;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf68c",
  "rgb": {
    "r": 251,
    "g": 246,
    "b": 140
  },
  "hsl": {
    "h": 57.297,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.95502,
    "c": 0.12843,
    "h": 106.2
  },
  "luminance": 0.88314
}

Semantic roles & 50–950 ramp

primary
#FBF68C
secondary
#5157DA
accent
#0AE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF68C

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

Preview Lab → · Contrast checker → · Palette generator →

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