#FBD662#FBD662

#FBD662 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.6% C 0.140 H 91.6°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#FBD662
RGBrgb(251, 214, 98)
HSLhsl(45, 95%, 68%)
HSVhsv(45, 61%, 98%)
CMYKcmyk(0%, 14.7%, 61%, 1.6%)
CIE-LABlab(86.75, -0.02, 60.71)
CIE-LCHlch(86.75, 60.71, 90.02°)
OKLaboklab(88.58% -0.0039 0.1397)
OKLCHoklch(88.58% 0.14 91.6)
XYZxyz(66.0379, 69.4877, 21.4870)
Luminance0.6948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD662 #6287FB
analogous
#FB8962 #FBD662 #D3FB62
triadic
#FBD662 #62FBD6 #D662FB
tetradic
#FBD662 #62FB89 #6287FB #FB62D3
square
#FBD662 #62FB89 #6287FB #FB62D3
split-complementary
#FBD662 #62D3FB #8962FB
monochromatic
#DDA906 #F9C626 #FBD662 #FDE69E #FEF5D9

Accessibility & contrast

On white

1.41
#FBD662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#FBD662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD662
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD662#FFFFFF#000000##000000
##FBD6621.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD356
Deuteranopia (green-blind)
#F4DE67
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #fbd662;
/* rgb */ color: rgb(251, 214, 98);
/* oklch */ color: oklch(88.6% 0.140 91.6);
Tailwind
colors: {
  custom: {
    50: '#ffe293',
    500: '#fbd662',
    950: '#000000',
  },
}
SCSS
$custom: #fbd662;
$custom-light: #ffe293;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd662",
  "rgb": {
    "r": 251,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 45.49,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88583,
    "c": 0.13973,
    "h": 91.6
  },
  "luminance": 0.69484
}

Semantic roles & 50–950 ramp

primary
#FBD662
secondary
#2D55D5
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #FBD662

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

Preview Lab → · Contrast checker → · Palette generator →

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