#FBE162#FBE162

#FBE162 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.8% C 0.148 H 97.8°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#FBE162
RGBrgb(251, 225, 98)
HSLhsl(50, 95%, 68%)
HSVhsv(50, 61%, 98%)
CMYKcmyk(0%, 10.4%, 61%, 1.6%)
CIE-LABlab(89.51, -5.58, 63.76)
CIE-LCHlch(89.51, 64.01, 95.00°)
OKLaboklab(90.77% -0.0199 0.1462)
OKLCHoklch(90.77% 0.148 97.8)
XYZxyz(68.9164, 75.2446, 22.4465)
Luminance0.7524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE162 #627CFB
analogous
#FB9462 #FBE162 #C8FB62
triadic
#FBE162 #62FBE1 #E162FB
tetradic
#FBE162 #62FB94 #627CFB #FB62C8
square
#FBE162 #62FB94 #627CFB #FB62C8
split-complementary
#FBE162 #62C8FB #9462FB
monochromatic
#DDB806 #F9D626 #FBE162 #FDEC9E #FEF8D9

Accessibility & contrast

On white

1.31
#FBE162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#FBE162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE162
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE162#FFFFFF#000000##000000
##FBE1621.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC54
Deuteranopia (green-blind)
#FCE568
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fbe162;
/* rgb */ color: rgb(251, 225, 98);
/* oklch */ color: oklch(90.8% 0.148 97.8);
Tailwind
colors: {
  custom: {
    50: '#ffea93',
    500: '#fbe162',
    950: '#000000',
  },
}
SCSS
$custom: #fbe162;
$custom-light: #ffea93;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe162",
  "rgb": {
    "r": 251,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 49.804,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90767,
    "c": 0.14755,
    "h": 97.8
  },
  "luminance": 0.75241
}

Semantic roles & 50–950 ramp

primary
#FBE162
secondary
#2D49D5
accent
#27E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #FBE162

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

Preview Lab → · Contrast checker → · Palette generator →

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