#FBEC6F#FBEC6F

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

Color values

HEX#FBEC6F
RGBrgb(251, 236, 111)
HSLhsl(54, 95%, 71%)
HSVhsv(54, 56%, 98%)
CMYKcmyk(0%, 6%, 55.8%, 1.6%)
CIE-LABlab(92.42, -10.17, 61.33)
CIE-LCHlch(92.42, 62.17, 99.41°)
OKLaboklab(93.12% -0.0316 0.1426)
OKLCHoklch(93.12% 0.146 102.5)
XYZxyz(72.6508, 81.6505, 26.9690)
Luminance0.8165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEC6F #6F7EFB
analogous
#FBA66F #FBEC6F #C4FB6F
triadic
#FBEC6F #6FFBEC #EC6FFB
tetradic
#FBEC6F #6FFBA6 #6F7EFB #FB6FC4
square
#FBEC6F #6FFBA6 #6F7EFB #FB6FC4
split-complementary
#FBEC6F #6FC4FB #A66FFB
monochromatic
#E9D106 #F9E433 #FBEC6F #FDF4AB #FEFBE1

Accessibility & contrast

On white

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

On black

17.33
#FBEC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEC6F
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEC6F#FFFFFF#000000##000000
##FBEC6F1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbec6f;
/* rgb */ color: rgb(251, 236, 111);
/* oklch */ color: oklch(93.1% 0.146 102.5);
Tailwind
colors: {
  custom: {
    50: '#fff19c',
    500: '#fbec6f',
    950: '#000000',
  },
}
SCSS
$custom: #fbec6f;
$custom-light: #fff19c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbec6f",
  "rgb": {
    "r": 251,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 53.571,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93116,
    "c": 0.14604,
    "h": 102.5
  },
  "luminance": 0.81648
}

Semantic roles & 50–950 ramp

primary
#FBEC6F
secondary
#3849D6
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FBEC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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