#FBE754#FBE754

#FBE754 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.8% C 0.163 H 101.5°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#FBE754
RGBrgb(251, 231, 84)
HSLhsl(53, 95%, 66%)
HSVhsv(53, 67%, 98%)
CMYKcmyk(0%, 8%, 66.5%, 1.6%)
CIE-LABlab(90.92, -9.40, 71.00)
CIE-LCHlch(90.92, 71.62, 97.54°)
OKLaboklab(91.85% -0.0324 0.1595)
OKLCHoklch(91.85% 0.163 101.5)
XYZxyz(69.9628, 78.3041, 19.8148)
Luminance0.7830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE754 #5468FB
analogous
#FB9354 #FBE754 #BCFB54
triadic
#FBE754 #54FBE7 #E754FB
tetradic
#FBE754 #54FB93 #5468FB #FB54BC
square
#FBE754 #54FB93 #5468FB #FB54BC
split-complementary
#FBE754 #54BCFB #9354FB
monochromatic
#D0B705 #FADF18 #FBE754 #FCEF90 #FEF8CC

Accessibility & contrast

On white

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

On black

16.66
#FBE754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE754
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE754#FFFFFF#000000##000000
##FBE7541.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE040
Deuteranopia (green-blind)
#FFE95D
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #fbe754;
/* rgb */ color: rgb(251, 231, 84);
/* oklch */ color: oklch(91.8% 0.163 101.5);
Tailwind
colors: {
  custom: {
    50: '#ffee8b',
    500: '#fbe754',
    950: '#000000',
  },
}
SCSS
$custom: #fbe754;
$custom-light: #ffee8b;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe754",
  "rgb": {
    "r": 251,
    "g": 231,
    "b": 84
  },
  "hsl": {
    "h": 52.814,
    "s": 95.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.9185,
    "c": 0.16276,
    "h": 101.5
  },
  "luminance": 0.78301
}

Semantic roles & 50–950 ramp

primary
#FBE754
secondary
#283CCB
accent
#1BE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FBE754

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

Preview Lab → · Contrast checker → · Palette generator →

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