#FBEA7E#FBEA7E

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

Color values

HEX#FBEA7E
RGBrgb(251, 234, 126)
HSLhsl(52, 94%, 74%)
HSVhsv(52, 50%, 98%)
CMYKcmyk(0%, 6.8%, 49.8%, 1.6%)
CIE-LABlab(92.07, -7.98, 54.06)
CIE-LCHlch(92.07, 54.64, 98.40°)
OKLaboklab(92.89% -0.0238 0.1282)
OKLCHoklch(92.89% 0.13 100.5)
XYZxyz(72.9745, 80.8638, 31.4989)
Luminance0.8086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEA7E #7E8FFB
analogous
#FBAC7E #FBEA7E #CEFB7E
triadic
#FBEA7E #7EFBEA #EA7EFB
tetradic
#FBEA7E #7EFBAC #7E8FFB #FB7ECE
square
#FBEA7E #7EFBAC #7E8FFB #FB7ECE
split-complementary
#FBEA7E #7ECEFB #AC7EFB
monochromatic
#F7D608 #F9E043 #FBEA7E #FDF4B9 #FEFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBEA7E#FFFFFF#000000##000000
##FBEA7E1.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)
#FCE474
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fbea7e;
/* rgb */ color: rgb(251, 234, 126);
/* oklch */ color: oklch(92.9% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#fff0a6',
    500: '#fbea7e',
    950: '#000000',
  },
}
SCSS
$custom: #fbea7e;
$custom-light: #fff0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbea7e",
  "rgb": {
    "r": 251,
    "g": 234,
    "b": 126
  },
  "hsl": {
    "h": 51.84,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.9289,
    "c": 0.13043,
    "h": 100.5
  },
  "luminance": 0.80861
}

Semantic roles & 50–950 ramp

primary
#FBEA7E
secondary
#4559D9
accent
#1FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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