#FBEC7E#FBEC7E

#FBEC7E is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.3% C 0.132 H 101.6°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#FBEC7E
RGBrgb(251, 236, 126)
HSLhsl(53, 94%, 74%)
HSVhsv(53, 50%, 98%)
CMYKcmyk(0%, 6%, 49.8%, 1.6%)
CIE-LABlab(92.58, -8.98, 54.66)
CIE-LCHlch(92.58, 55.40, 99.33°)
OKLaboklab(93.29% -0.0266 0.1296)
OKLCHoklch(93.29% 0.132 101.6)
XYZxyz(73.5471, 82.0090, 31.6898)
Luminance0.8201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC7E #7E8DFB
analogous
#FBAE7E #FBEC7E #CCFB7E
triadic
#FBEC7E #7EFBEC #EC7EFB
tetradic
#FBEC7E #7EFBAE #7E8DFB #FB7ECC
square
#FBEC7E #7EFBAE #7E8DFB #FB7ECC
split-complementary
#FBEC7E #7ECCFB #AE7EFB
monochromatic
#F7DA08 #F9E343 #FBEC7E #FDF5B9 #FEFBE1

Accessibility & contrast

On white

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

On black

17.40
#FBEC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC7E
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC7E#FFFFFF#000000##000000
##FBEC7E1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE674
Deuteranopia (green-blind)
#FFED83
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fbec7e;
/* rgb */ color: rgb(251, 236, 126);
/* oklch */ color: oklch(93.3% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#fff1a6',
    500: '#fbec7e',
    950: '#000000',
  },
}
SCSS
$custom: #fbec7e;
$custom-light: #fff1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec7e",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 126
  },
  "hsl": {
    "h": 52.8,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93293,
    "c": 0.13228,
    "h": 101.6
  },
  "luminance": 0.82006
}

Semantic roles & 50–950 ramp

primary
#FBEC7E
secondary
#4556D9
accent
#1CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBEC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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