#FBEA7D#FBEA7D

#FBEA7D is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.9% C 0.131 H 100.6°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#FBEA7D
RGBrgb(251, 234, 125)
HSLhsl(52, 94%, 74%)
HSVhsv(52, 50%, 98%)
CMYKcmyk(0%, 6.8%, 50.2%, 1.6%)
CIE-LABlab(92.06, -8.07, 54.51)
CIE-LCHlch(92.06, 55.10, 98.42°)
OKLaboklab(92.88% -0.0241 0.1291)
OKLCHoklch(92.88% 0.131 100.6)
XYZxyz(72.9103, 80.8381, 31.1608)
Luminance0.8084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEA7D #7D8EFB
analogous
#FBAB7D #FBEA7D #CDFB7D
triadic
#FBEA7D #7DFBEA #EA7DFB
tetradic
#FBEA7D #7DFBAB #7D8EFB #FB7DCD
square
#FBEA7D #7DFBAB #7D8EFB #FB7DCD
split-complementary
#FBEA7D #7DCDFB #AB7DFB
monochromatic
#F6D608 #F9E042 #FBEA7D #FDF4B8 #FEFAE1

Accessibility & contrast

On white

1.22
#FBEA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#FBEA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEA7D
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEA7D#FFFFFF#000000##000000
##FBEA7D1.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE473
Deuteranopia (green-blind)
#FFEB82
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fbea7d;
/* rgb */ color: rgb(251, 234, 125);
/* oklch */ color: oklch(92.9% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#fff0a5',
    500: '#fbea7d',
    950: '#000000',
  },
}
SCSS
$custom: #fbea7d;
$custom-light: #fff0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbea7d",
  "rgb": {
    "r": 251,
    "g": 234,
    "b": 125
  },
  "hsl": {
    "h": 51.905,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92877,
    "c": 0.13138,
    "h": 100.6
  },
  "luminance": 0.80836
}

Semantic roles & 50–950 ramp

primary
#FBEA7D
secondary
#4458D8
accent
#1FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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