#FBF462#FBF462

#FBF462 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.164 H 106.5°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#FBF462
RGBrgb(251, 244, 98)
HSLhsl(57, 95%, 68%)
HSVhsv(57, 61%, 98%)
CMYKcmyk(0%, 2.8%, 61%, 1.6%)
CIE-LABlab(94.35, -14.98, 69.02)
CIE-LCHlch(94.35, 70.63, 102.24°)
OKLaboklab(94.62% -0.0467 0.1574)
OKLCHoklch(94.62% 0.164 106.5)
XYZxyz(74.3415, 86.0948, 24.2548)
Luminance0.8609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF462 #6269FB
analogous
#FBA762 #FBF462 #B5FB62
triadic
#FBF462 #62FBF4 #F462FB
tetradic
#FBF462 #62FBA7 #6269FB #FB62B5
square
#FBF462 #62FBA7 #6269FB #FB62B5
split-complementary
#FBF462 #62B5FB #A762FB
monochromatic
#DDD306 #F9F026 #FBF462 #FDF89E #FEFCD9

Accessibility & contrast

On white

1.15
#FBF462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#FBF462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF462
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF462#FFFFFF#000000##000000
##FBF4621.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFF26B
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf462;
/* rgb */ color: rgb(251, 244, 98);
/* oklch */ color: oklch(94.6% 0.164 106.5);
Tailwind
colors: {
  custom: {
    50: '#fff794',
    500: '#fbf462',
    950: '#000000',
  },
}
SCSS
$custom: #fbf462;
$custom-light: #fff794;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf462",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 57.255,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94615,
    "c": 0.16416,
    "h": 106.5
  },
  "luminance": 0.86092
}

Semantic roles & 50–950 ramp

primary
#FBF462
secondary
#2D34D5
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF462

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

Preview Lab → · Contrast checker → · Palette generator →

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