#FBF283#FBF283

#FBF283 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.6% C 0.133 H 104.5°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#FBF283
RGBrgb(251, 242, 131)
HSLhsl(56, 94%, 75%)
HSVhsv(56, 48%, 98%)
CMYKcmyk(0%, 3.6%, 47.8%, 1.6%)
CIE-LABlab(94.16, -11.51, 54.23)
CIE-LCHlch(94.16, 55.44, 101.98°)
OKLaboklab(94.57% -0.0334 0.129)
OKLCHoklch(94.57% 0.133 104.5)
XYZxyz(75.6344, 85.6544, 34.0171)
Luminance0.8565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF283 #838CFB
analogous
#FBB683 #FBF283 #C8FB83
triadic
#FBF283 #83FBF2 #F283FB
tetradic
#FBF283 #83FBB6 #838CFB #FB83C8
square
#FBF283 #83FBB6 #838CFB #FB83C8
split-complementary
#FBF283 #83C8FB #B683FB
monochromatic
#F7E60C #F9EC48 #FBF283 #FDF8BE #FEFCE1

Accessibility & contrast

On white

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

On black

18.13
#FBF283 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF283
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF283#FFFFFF#000000##000000
##FBF2831.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB79
Deuteranopia (green-blind)
#FFF188
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf283;
/* rgb */ color: rgb(251, 242, 131);
/* oklch */ color: oklch(94.6% 0.133 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff6a9',
    500: '#fbf283',
    950: '#000000',
  },
}
SCSS
$custom: #fbf283;
$custom-light: #fff6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf283",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 131
  },
  "hsl": {
    "h": 55.5,
    "s": 93.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.9457,
    "c": 0.13329,
    "h": 104.5
  },
  "luminance": 0.85652
}

Semantic roles & 50–950 ramp

primary
#FBF283
secondary
#4954D9
accent
#11E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF283

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

Preview Lab → · Contrast checker → · Palette generator →

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