#FBEB7A#FBEB7A

#FBEB7A is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 93.0% C 0.135 H 101.3°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#FBEB7A
RGBrgb(251, 235, 122)
HSLhsl(53, 94%, 73%)
HSVhsv(53, 51%, 98%)
CMYKcmyk(0%, 6.4%, 51.4%, 1.6%)
CIE-LABlab(92.28, -8.82, 56.17)
CIE-LCHlch(92.28, 56.86, 98.92°)
OKLaboklab(93.04% -0.0266 0.1325)
OKLCHoklch(93.04% 0.135 101.3)
XYZxyz(73.0071, 81.3336, 30.2618)
Luminance0.8133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEB7A #7A8AFB
analogous
#FBAA7A #FBEB7A #CAFB7A
triadic
#FBEB7A #7AFBEB #EB7AFB
tetradic
#FBEB7A #7AFBAA #7A8AFB #FB7ACA
square
#FBEB7A #7AFBAA #7A8AFB #FB7ACA
split-complementary
#FBEB7A #7ACAFB #AA7AFB
monochromatic
#F3D607 #F9E23F #FBEB7A #FDF4B5 #FEFBE1

Accessibility & contrast

On white

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

On black

17.27
#FBEB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEB7A
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEB7A#FFFFFF#000000##000000
##FBEB7A1.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE570
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fbeb7a;
/* rgb */ color: rgb(251, 235, 122);
/* oklch */ color: oklch(93.0% 0.135 101.3);
Tailwind
colors: {
  custom: {
    50: '#fff1a3',
    500: '#fbeb7a',
    950: '#000000',
  },
}
SCSS
$custom: #fbeb7a;
$custom-light: #fff1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbeb7a",
  "rgb": {
    "r": 251,
    "g": 235,
    "b": 122
  },
  "hsl": {
    "h": 52.558,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93041,
    "c": 0.13516,
    "h": 101.3
  },
  "luminance": 0.81331
}

Semantic roles & 50–950 ramp

primary
#FBEB7A
secondary
#4154D8
accent
#1CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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