#FBEA7C#FBEA7C

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

Color values

HEX#FBEA7C
RGBrgb(251, 234, 124)
HSLhsl(52, 94%, 74%)
HSVhsv(52, 51%, 98%)
CMYKcmyk(0%, 6.8%, 50.6%, 1.6%)
CIE-LABlab(92.05, -8.15, 54.96)
CIE-LCHlch(92.05, 55.57, 98.44°)
OKLaboklab(92.87% -0.0245 0.1301)
OKLCHoklch(92.87% 0.132 100.7)
XYZxyz(72.8468, 80.8127, 30.8260)
Luminance0.8081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEA7C #7C8DFB
analogous
#FBAA7C #FBEA7C #CCFB7C
triadic
#FBEA7C #7CFBEA #EA7CFB
tetradic
#FBEA7C #7CFBAA #7C8DFB #FB7CCC
square
#FBEA7C #7CFBAA #7C8DFB #FB7CCC
split-complementary
#FBEA7C #7CCCFB #AA7CFB
monochromatic
#F5D507 #F9E041 #FBEA7C #FDF4B7 #FEFAE1

Accessibility & contrast

On white

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

On black

17.16
#FBEA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEA7C
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEA7C#FFFFFF#000000##000000
##FBEA7C1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbea7c;
/* rgb */ color: rgb(251, 234, 124);
/* oklch */ color: oklch(92.9% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#fff0a4',
    500: '#fbea7c',
    950: '#000000',
  },
}
SCSS
$custom: #fbea7c;
$custom-light: #fff0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbea7c",
  "rgb": {
    "r": 251,
    "g": 234,
    "b": 124
  },
  "hsl": {
    "h": 51.969,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92865,
    "c": 0.13234,
    "h": 100.7
  },
  "luminance": 0.8081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBEA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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