#FBE462#FBE462

#FBE462 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.4% C 0.150 H 99.3°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#FBE462
RGBrgb(251, 228, 98)
HSLhsl(51, 95%, 68%)
HSVhsv(51, 61%, 98%)
CMYKcmyk(0%, 9.2%, 61%, 1.6%)
CIE-LABlab(90.27, -7.08, 64.59)
CIE-LCHlch(90.27, 64.98, 96.26°)
OKLaboklab(91.37% -0.0242 0.148)
OKLCHoklch(91.37% 0.15 99.3)
XYZxyz(69.7345, 76.8809, 22.7192)
Luminance0.7688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE462 #6279FB
analogous
#FB9762 #FBE462 #C6FB62
triadic
#FBE462 #62FBE4 #E462FB
tetradic
#FBE462 #62FB97 #6279FB #FB62C6
square
#FBE462 #62FB97 #6279FB #FB62C6
split-complementary
#FBE462 #62C6FB #9762FB
monochromatic
#DDBD06 #F9DA26 #FBE462 #FDEE9E #FEF9D9

Accessibility & contrast

On white

1.28
#FBE462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#FBE462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE462
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE462#FFFFFF#000000##000000
##FBE4621.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE53
Deuteranopia (green-blind)
#FEE769
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #fbe462;
/* rgb */ color: rgb(251, 228, 98);
/* oklch */ color: oklch(91.4% 0.150 99.3);
Tailwind
colors: {
  custom: {
    50: '#ffec93',
    500: '#fbe462',
    950: '#000000',
  },
}
SCSS
$custom: #fbe462;
$custom-light: #ffec93;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe462",
  "rgb": {
    "r": 251,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 50.98,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91369,
    "c": 0.14994,
    "h": 99.3
  },
  "luminance": 0.76878
}

Semantic roles & 50–950 ramp

primary
#FBE462
secondary
#2D46D5
accent
#23E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #FBE462

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

Preview Lab → · Contrast checker → · Palette generator →

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