#FBF574#FBF574

#FBF574 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.150 H 106.5°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FBF574
RGBrgb(251, 245, 116)
HSLhsl(57, 94%, 72%)
HSVhsv(57, 54%, 98%)
CMYKcmyk(0%, 2.4%, 53.8%, 1.6%)
CIE-LABlab(94.77, -14.21, 61.80)
CIE-LCHlch(94.77, 63.41, 102.95°)
OKLaboklab(95% -0.0427 0.1441)
OKLCHoklch(95% 0.15 106.5)
XYZxyz(75.5906, 87.0772, 29.3453)
Luminance0.8708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF574 #747AFB
analogous
#FBB174 #FBF574 #BEFB74
triadic
#FBF574 #74FBF5 #F574FB
tetradic
#FBF574 #74FBB1 #747AFB #FB74BE
square
#FBF574 #74FBB1 #747AFB #FB74BE
split-complementary
#FBF574 #74BEFB #B174FB
monochromatic
#EEE307 #F9F139 #FBF574 #FDF9AF #FEFDE1

Accessibility & contrast

On white

1.14
#FBF574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#FBF574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF574
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF574#FFFFFF#000000##000000
##FBF5741.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED67
Deuteranopia (green-blind)
#FFF37B
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf574;
/* rgb */ color: rgb(251, 245, 116);
/* oklch */ color: oklch(95.0% 0.150 106.5);
Tailwind
colors: {
  custom: {
    50: '#fff8a0',
    500: '#fbf574',
    950: '#000000',
  },
}
SCSS
$custom: #fbf574;
$custom-light: #fff8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf574",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 116
  },
  "hsl": {
    "h": 57.333,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95,
    "c": 0.1503,
    "h": 106.5
  },
  "luminance": 0.87075
}

Semantic roles & 50–950 ramp

primary
#FBF574
secondary
#3C43D7
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF574

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

Preview Lab → · Contrast checker → · Palette generator →

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