#FBE470#FBE470

#FBE470 is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.5% C 0.138 H 98.3°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#FBE470
RGBrgb(251, 228, 112)
HSLhsl(50, 95%, 71%)
HSVhsv(50, 55%, 98%)
CMYKcmyk(0%, 9.2%, 55.4%, 1.6%)
CIE-LABlab(90.40, -6.11, 58.56)
CIE-LCHlch(90.40, 58.88, 95.96°)
OKLaboklab(91.52% -0.0199 0.1367)
OKLCHoklch(91.52% 0.138 98.3)
XYZxyz(70.4543, 77.1688, 26.5100)
Luminance0.7717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE470 #7087FB
analogous
#FB9E70 #FBE470 #CCFB70
triadic
#FBE470 #70FBE4 #E470FB
tetradic
#FBE470 #70FB9E #7087FB #FB70CC
square
#FBE470 #70FB9E #7087FB #FB70CC
split-complementary
#FBE470 #70CCFB #9E70FB
monochromatic
#EAC407 #F9D934 #FBE470 #FDEFAC #FEF9E1

Accessibility & contrast

On white

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

On black

16.43
#FBE470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE470
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE470#FFFFFF#000000##000000
##FBE4701.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF65
Deuteranopia (green-blind)
#FDE775
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #fbe470;
/* rgb */ color: rgb(251, 228, 112);
/* oklch */ color: oklch(91.5% 0.138 98.3);
Tailwind
colors: {
  custom: {
    50: '#ffec9c',
    500: '#fbe470',
    950: '#000000',
  },
}
SCSS
$custom: #fbe470;
$custom-light: #ffec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe470",
  "rgb": {
    "r": 251,
    "g": 228,
    "b": 112
  },
  "hsl": {
    "h": 50.072,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91516,
    "c": 0.13816,
    "h": 98.3
  },
  "luminance": 0.77166
}

Semantic roles & 50–950 ramp

primary
#FBE470
secondary
#3953D7
accent
#26E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE470

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

Preview Lab → · Contrast checker → · Palette generator →

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