#FBF366#FBF366

#FBF366 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.4% C 0.160 H 106.0°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#FBF366
RGBrgb(251, 243, 102)
HSLhsl(57, 95%, 69%)
HSVhsv(57, 59%, 98%)
CMYKcmyk(0%, 3.2%, 59.4%, 1.6%)
CIE-LABlab(94.13, -14.23, 67.13)
CIE-LCHlch(94.13, 68.62, 101.97°)
OKLaboklab(94.45% -0.0442 0.1539)
OKLCHoklch(94.45% 0.16 106)
XYZxyz(74.2350, 85.5721, 25.1745)
Luminance0.8557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF366 #666EFB
analogous
#FBA966 #FBF366 #B8FB66
triadic
#FBF366 #66FBF3 #F366FB
tetradic
#FBF366 #66FBA9 #666EFB #FB66B8
square
#FBF366 #66FBA9 #666EFB #FB66B8
split-complementary
#FBF366 #66B8FB #A966FB
monochromatic
#E1D506 #F9EE2A #FBF366 #FDF8A2 #FEFCDD

Accessibility & contrast

On white

1.16
#FBF366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.11
#FBF366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF366
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF366#FFFFFF#000000##000000
##FBF3661.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFF16E
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf366;
/* rgb */ color: rgb(251, 243, 102);
/* oklch */ color: oklch(94.4% 0.160 106.0);
Tailwind
colors: {
  custom: {
    50: '#fff697',
    500: '#fbf366',
    950: '#000000',
  },
}
SCSS
$custom: #fbf366;
$custom-light: #fff697;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf366",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 56.779,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94448,
    "c": 0.16009,
    "h": 106
  },
  "luminance": 0.8557
}

Semantic roles & 50–950 ramp

primary
#FBF366
secondary
#3039D5
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF366

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

Preview Lab → · Contrast checker → · Palette generator →

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