#FBEC7F#FBEC7F

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

Color values

HEX#FBEC7F
RGBrgb(251, 236, 127)
HSLhsl(53, 94%, 74%)
HSVhsv(53, 49%, 98%)
CMYKcmyk(0%, 6%, 49.4%, 1.6%)
CIE-LABlab(92.59, -8.89, 54.21)
CIE-LCHlch(92.59, 54.93, 99.31°)
OKLaboklab(93.31% -0.0263 0.1287)
OKLCHoklch(93.31% 0.131 101.5)
XYZxyz(73.6120, 82.0349, 32.0313)
Luminance0.8203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC7F #7F8EFB
analogous
#FBAE7F #FBEC7F #CCFB7F
triadic
#FBEC7F #7FFBEC #EC7FFB
tetradic
#FBEC7F #7FFBAE #7F8EFB #FB7FCC
square
#FBEC7F #7FFBAE #7F8EFB #FB7FCC
split-complementary
#FBEC7F #7FCCFB #AE7FFB
monochromatic
#F7DA08 #F9E344 #FBEC7F #FDF5BA #FEFBE1

Accessibility & contrast

On white

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

On black

17.41
#FBEC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC7F
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC7F#FFFFFF#000000##000000
##FBEC7F1.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE675
Deuteranopia (green-blind)
#FFED84
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fbec7f;
/* rgb */ color: rgb(251, 236, 127);
/* oklch */ color: oklch(93.3% 0.131 101.5);
Tailwind
colors: {
  custom: {
    50: '#fff1a6',
    500: '#fbec7f',
    950: '#000000',
  },
}
SCSS
$custom: #fbec7f;
$custom-light: #fff1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec7f",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 127
  },
  "hsl": {
    "h": 52.742,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93305,
    "c": 0.13132,
    "h": 101.5
  },
  "luminance": 0.82032
}

Semantic roles & 50–950 ramp

primary
#FBEC7F
secondary
#4657D9
accent
#1CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #FBEC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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