#FBE766#FBE766

#FBE766 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 92.0% C 0.149 H 100.6°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#FBE766
RGBrgb(251, 231, 102)
HSLhsl(52, 95%, 69%)
HSVhsv(52, 59%, 98%)
CMYKcmyk(0%, 8%, 59.4%, 1.6%)
CIE-LABlab(91.06, -8.32, 63.75)
CIE-LCHlch(91.06, 64.29, 97.43°)
OKLaboklab(92.01% -0.0273 0.1467)
OKLCHoklch(92.01% 0.149 100.6)
XYZxyz(70.7605, 78.6232, 24.0163)
Luminance0.7862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE766 #667AFB
analogous
#FB9D66 #FBE766 #C5FB66
triadic
#FBE766 #66FBE7 #E766FB
tetradic
#FBE766 #66FB9D #667AFB #FB66C5
square
#FBE766 #66FB9D #667AFB #FB66C5
split-complementary
#FBE766 #66C5FB #9D66FB
monochromatic
#E1C306 #F9DE2A #FBE766 #FDF0A2 #FEFADD

Accessibility & contrast

On white

1.26
#FBE766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#FBE766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE766
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE766#FFFFFF#000000##000000
##FBE7661.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE158
Deuteranopia (green-blind)
#FFE96D
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #fbe766;
/* rgb */ color: rgb(251, 231, 102);
/* oklch */ color: oklch(92.0% 0.149 100.6);
Tailwind
colors: {
  custom: {
    50: '#ffee96',
    500: '#fbe766',
    950: '#000000',
  },
}
SCSS
$custom: #fbe766;
$custom-light: #ffee96;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe766",
  "rgb": {
    "r": 251,
    "g": 231,
    "b": 102
  },
  "hsl": {
    "h": 51.946,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92012,
    "c": 0.14921,
    "h": 100.6
  },
  "luminance": 0.7862
}

Semantic roles & 50–950 ramp

primary
#FBE766
secondary
#3046D5
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE766

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

Preview Lab → · Contrast checker → · Palette generator →

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