#FBF268#FBF268

#FBF268 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.158 H 105.5°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#FBF268
RGBrgb(251, 242, 104)
HSLhsl(56, 95%, 70%)
HSVhsv(56, 59%, 98%)
CMYKcmyk(0%, 3.6%, 58.6%, 1.6%)
CIE-LABlab(93.89, -13.61, 66.02)
CIE-LCHlch(93.89, 67.41, 101.65°)
OKLaboklab(94.26% -0.0422 0.1518)
OKLCHoklch(94.26% 0.158 105.5)
XYZxyz(74.0369, 85.0154, 25.6037)
Luminance0.8501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF268 #6871FB
analogous
#FBA968 #FBF268 #BAFB68
triadic
#FBF268 #68FBF2 #F268FB
tetradic
#FBF268 #68FBA9 #6871FB #FB68BA
square
#FBF268 #68FBA9 #6871FB #FB68BA
split-complementary
#FBF268 #68BAFB #A968FB
monochromatic
#E3D506 #F9ED2C #FBF268 #FDF7A4 #FEFCDF

Accessibility & contrast

On white

1.17
#FBF268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.00
#FBF268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF268
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF268#FFFFFF#000000##000000
##FBF2681.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA59
Deuteranopia (green-blind)
#FFF070
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf268;
/* rgb */ color: rgb(251, 242, 104);
/* oklch */ color: oklch(94.3% 0.158 105.5);
Tailwind
colors: {
  custom: {
    50: '#fff698',
    500: '#fbf268',
    950: '#000000',
  },
}
SCSS
$custom: #fbf268;
$custom-light: #fff698;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf268",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 56.327,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94263,
    "c": 0.15753,
    "h": 105.5
  },
  "luminance": 0.85013
}

Semantic roles & 50–950 ramp

primary
#FBF268
secondary
#323CD6
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF268

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

Preview Lab → · Contrast checker → · Palette generator →

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