#FBD85F#FBD85F

#FBD85F is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.9% C 0.143 H 93.1°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#FBD85F
RGBrgb(251, 216, 95)
HSLhsl(47, 95%, 68%)
HSVhsv(47, 62%, 98%)
CMYKcmyk(0%, 13.9%, 62.2%, 1.6%)
CIE-LABlab(87.22, -1.23, 62.55)
CIE-LCHlch(87.22, 62.56, 91.13°)
OKLaboklab(88.95% -0.0078 0.1432)
OKLCHoklch(88.95% 0.143 93.1)
XYZxyz(66.4082, 70.4507, 20.9247)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD85F #5F82FB
analogous
#FB8A5F #FBD85F #D0FB5F
triadic
#FBD85F #5FFBD8 #D85FFB
tetradic
#FBD85F #5FFB8A #5F82FB #FB5FD0
square
#FBD85F #5FFB8A #5F82FB #FB5FD0
split-complementary
#FBD85F #5FD0FB #8A5FFB
monochromatic
#DAAA05 #FAC923 #FBD85F #FCE79B #FEF5D6

Accessibility & contrast

On white

1.39
#FBD85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#FBD85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD85F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD85F#FFFFFF#000000##000000
##FBD85F1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD452
Deuteranopia (green-blind)
#F6DF65
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #fbd85f;
/* rgb */ color: rgb(251, 216, 95);
/* oklch */ color: oklch(88.9% 0.143 93.1);
Tailwind
colors: {
  custom: {
    50: '#ffe391',
    500: '#fbd85f',
    950: '#000000',
  },
}
SCSS
$custom: #fbd85f;
$custom-light: #ffe391;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd85f",
  "rgb": {
    "r": 251,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 46.538,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88947,
    "c": 0.14341,
    "h": 93.1
  },
  "luminance": 0.70447
}

Semantic roles & 50–950 ramp

primary
#FBD85F
secondary
#2A50D4
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #FBD85F

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

Preview Lab → · Contrast checker → · Palette generator →

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