#FBEC6B#FBEC6B

#FBEC6B is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 93.1% C 0.149 H 102.7°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#FBEC6B
RGBrgb(251, 236, 107)
HSLhsl(54, 95%, 70%)
HSVhsv(54, 57%, 98%)
CMYKcmyk(0%, 6%, 57.4%, 1.6%)
CIE-LABlab(92.38, -10.45, 63.05)
CIE-LCHlch(92.38, 63.91, 99.41°)
OKLaboklab(93.07% -0.0329 0.1458)
OKLCHoklch(93.07% 0.149 102.7)
XYZxyz(72.4355, 81.5643, 25.8350)
Luminance0.8156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC6B #6B7AFB
analogous
#FBA46B #FBEC6B #C2FB6B
triadic
#FBEC6B #6BFBEC #EC6BFB
tetradic
#FBEC6B #6BFBA4 #6B7AFB #FB6BC2
square
#FBEC6B #6BFBA4 #6B7AFB #FB6BC2
split-complementary
#FBEC6B #6BC2FB #A46BFB
monochromatic
#E5CE06 #F9E42F #FBEC6B #FDF4A7 #FEFBE1

Accessibility & contrast

On white

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

On black

17.31
#FBEC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC6B
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC6B#FFFFFF#000000##000000
##FBEC6B1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE55D
Deuteranopia (green-blind)
#FFEC72
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #fbec6b;
/* rgb */ color: rgb(251, 236, 107);
/* oklch */ color: oklch(93.1% 0.149 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff199',
    500: '#fbec6b',
    950: '#000000',
  },
}
SCSS
$custom: #fbec6b;
$custom-light: #fff199;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec6b",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 107
  },
  "hsl": {
    "h": 53.75,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93073,
    "c": 0.14946,
    "h": 102.7
  },
  "luminance": 0.81562
}

Semantic roles & 50–950 ramp

primary
#FBEC6B
secondary
#3445D6
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FBEC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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