#FBE57A#FBE57A

#FBE57A is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.8% C 0.130 H 98.0°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#FBE57A
RGBrgb(251, 229, 122)
HSLhsl(50, 94%, 73%)
HSVhsv(50, 51%, 98%)
CMYKcmyk(0%, 8.8%, 51.4%, 1.6%)
CIE-LABlab(90.76, -5.82, 54.36)
CIE-LCHlch(90.76, 54.67, 96.11°)
OKLaboklab(91.84% -0.018 0.1286)
OKLCHoklch(91.84% 0.13 98)
XYZxyz(71.3182, 77.9558, 29.6989)
Luminance0.7795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE57A #7A90FB
analogous
#FBA47A #FBE57A #D1FB7A
triadic
#FBE57A #7AFBE5 #E57AFB
tetradic
#FBE57A #7AFBA4 #7A90FB #FB7AD1
square
#FBE57A #7AFBA4 #7A90FB #FB7AD1
split-complementary
#FBE57A #7AD1FB #A47AFB
monochromatic
#F3CB07 #F9D93F #FBE57A #FDF1B5 #FEF9E1

Accessibility & contrast

On white

1.27
#FBE57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#FBE57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE57A
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE57A#FFFFFF#000000##000000
##FBE57A1.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#FDE87F
Tritanopia (blue-blind)
#FFD7CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fbe57a;
/* rgb */ color: rgb(251, 229, 122);
/* oklch */ color: oklch(91.8% 0.130 98.0);
Tailwind
colors: {
  custom: {
    50: '#ffeda3',
    500: '#fbe57a',
    950: '#000000',
  },
}
SCSS
$custom: #fbe57a;
$custom-light: #ffeda3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe57a",
  "rgb": {
    "r": 251,
    "g": 229,
    "b": 122
  },
  "hsl": {
    "h": 49.767,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91836,
    "c": 0.12982,
    "h": 98
  },
  "luminance": 0.77953
}

Semantic roles & 50–950 ramp

primary
#FBE57A
secondary
#415BD8
accent
#27E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE57A

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

Preview Lab → · Contrast checker → · Palette generator →

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