#FBEC7A#FBEC7A

#FBEC7A is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.2% C 0.136 H 101.9°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#FBEC7A
RGBrgb(251, 236, 122)
HSLhsl(53, 94%, 73%)
HSVhsv(53, 51%, 98%)
CMYKcmyk(0%, 6%, 51.4%, 1.6%)
CIE-LABlab(92.53, -9.31, 56.47)
CIE-LCHlch(92.53, 57.23, 99.36°)
OKLaboklab(93.24% -0.028 0.1332)
OKLCHoklch(93.24% 0.136 101.9)
XYZxyz(73.2942, 81.9078, 30.3575)
Luminance0.8190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC7A #7A89FB
analogous
#FBAB7A #FBEC7A #CAFB7A
triadic
#FBEC7A #7AFBEC #EC7AFB
tetradic
#FBEC7A #7AFBAB #7A89FB #FB7ACA
square
#FBEC7A #7AFBAB #7A89FB #FB7ACA
split-complementary
#FBEC7A #7ACAFB #AB7AFB
monochromatic
#F3D807 #F9E43F #FBEC7A #FDF4B5 #FEFBE1

Accessibility & contrast

On white

1.21
#FBEC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#FBEC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC7A
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC7A#FFFFFF#000000##000000
##FBEC7A1.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE670
Deuteranopia (green-blind)
#FFED7F
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fbec7a;
/* rgb */ color: rgb(251, 236, 122);
/* oklch */ color: oklch(93.2% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#fff1a3',
    500: '#fbec7a',
    950: '#000000',
  },
}
SCSS
$custom: #fbec7a;
$custom-light: #fff1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec7a",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 122
  },
  "hsl": {
    "h": 53.023,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93243,
    "c": 0.13608,
    "h": 101.9
  },
  "luminance": 0.81905
}

Semantic roles & 50–950 ramp

primary
#FBEC7A
secondary
#4153D8
accent
#1BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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