#FBE475#FBE475

#FBE475 is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.6% C 0.134 H 97.8°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#FBE475
RGBrgb(251, 228, 117)
HSLhsl(50, 94%, 72%)
HSVhsv(50, 53%, 98%)
CMYKcmyk(0%, 9.2%, 53.4%, 1.6%)
CIE-LABlab(90.45, -5.72, 56.33)
CIE-LCHlch(90.45, 56.62, 95.80°)
OKLaboklab(91.57% -0.0182 0.1324)
OKLCHoklch(91.57% 0.134 97.8)
XYZxyz(70.7404, 77.2833, 28.0171)
Luminance0.7728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE475 #758CFB
analogous
#FBA175 #FBE475 #CFFB75
triadic
#FBE475 #75FBE4 #E475FB
tetradic
#FBE475 #75FBA1 #758CFB #FB75CF
square
#FBE475 #75FBA1 #758CFB #FB75CF
split-complementary
#FBE475 #75CFFB #A175FB
monochromatic
#EFC707 #F9D83A #FBE475 #FDF0B0 #FEF9E1

Accessibility & contrast

On white

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

On black

16.46
#FBE475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE475
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE475#FFFFFF#000000##000000
##FBE4751.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF6B
Deuteranopia (green-blind)
#FDE77A
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fbe475;
/* rgb */ color: rgb(251, 228, 117);
/* oklch */ color: oklch(91.6% 0.134 97.8);
Tailwind
colors: {
  custom: {
    50: '#ffec9f',
    500: '#fbe475',
    950: '#000000',
  },
}
SCSS
$custom: #fbe475;
$custom-light: #ffec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe475",
  "rgb": {
    "r": 251,
    "g": 228,
    "b": 117
  },
  "hsl": {
    "h": 49.701,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91575,
    "c": 0.13365,
    "h": 97.8
  },
  "luminance": 0.7728
}

Semantic roles & 50–950 ramp

primary
#FBE475
secondary
#3D57D7
accent
#27E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE475

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

Preview Lab → · Contrast checker → · Palette generator →

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