#FBF262#FBF262

#FBF262 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.162 H 105.7°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#FBF262
RGBrgb(251, 242, 98)
HSLhsl(56, 95%, 68%)
HSVhsv(56, 61%, 98%)
CMYKcmyk(0%, 3.6%, 61%, 1.6%)
CIE-LABlab(93.84, -14.00, 68.47)
CIE-LCHlch(93.84, 69.89, 101.56°)
OKLaboklab(94.21% -0.044 0.1562)
OKLCHoklch(94.21% 0.162 105.7)
XYZxyz(73.7430, 84.8978, 24.0553)
Luminance0.8489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF262 #626BFB
analogous
#FBA562 #FBF262 #B7FB62
triadic
#FBF262 #62FBF2 #F262FB
tetradic
#FBF262 #62FBA5 #626BFB #FB62B7
square
#FBF262 #62FBA5 #626BFB #FB62B7
split-complementary
#FBF262 #62B7FB #A562FB
monochromatic
#DDD006 #F9ED26 #FBF262 #FDF79E #FEFCD9

Accessibility & contrast

On white

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

On black

17.98
#FBF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF262
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF262#FFFFFF#000000##000000
##FBF2621.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf262;
/* rgb */ color: rgb(251, 242, 98);
/* oklch */ color: oklch(94.2% 0.162 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff694',
    500: '#fbf262',
    950: '#000000',
  },
}
SCSS
$custom: #fbf262;
$custom-light: #fff694;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf262",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 56.471,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94206,
    "c": 0.16227,
    "h": 105.7
  },
  "luminance": 0.84895
}

Semantic roles & 50–950 ramp

primary
#FBF262
secondary
#2D36D5
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF262

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

Preview Lab → · Contrast checker → · Palette generator →

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