#FBF274#FBF274

#FBF274 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.147 H 105.1°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#FBF274
RGBrgb(251, 242, 116)
HSLhsl(56, 94%, 72%)
HSVhsv(56, 54%, 98%)
CMYKcmyk(0%, 3.6%, 53.8%, 1.6%)
CIE-LABlab(94.00, -12.75, 60.91)
CIE-LCHlch(94.00, 62.23, 101.82°)
OKLaboklab(94.39% -0.0385 0.1422)
OKLCHoklch(94.39% 0.147 105.1)
XYZxyz(74.6904, 85.2768, 29.0453)
Luminance0.8527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF274 #747DFB
analogous
#FBAF74 #FBF274 #C1FB74
triadic
#FBF274 #74FBF2 #F274FB
tetradic
#FBF274 #74FBAF #747DFB #FB74C1
square
#FBF274 #74FBAF #747DFB #FB74C1
split-complementary
#FBF274 #74C1FB #AF74FB
monochromatic
#EEDE07 #F9EC39 #FBF274 #FDF8AF #FEFCE1

Accessibility & contrast

On white

1.16
#FBF274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.05
#FBF274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF274
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF274#FFFFFF#000000##000000
##FBF2741.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA68
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf274;
/* rgb */ color: rgb(251, 242, 116);
/* oklch */ color: oklch(94.4% 0.147 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff69f',
    500: '#fbf274',
    950: '#000000',
  },
}
SCSS
$custom: #fbf274;
$custom-light: #fff69f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf274",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 116
  },
  "hsl": {
    "h": 56,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94389,
    "c": 0.14732,
    "h": 105.1
  },
  "luminance": 0.85274
}

Semantic roles & 50–950 ramp

primary
#FBF274
secondary
#3C46D7
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF274

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

Preview Lab → · Contrast checker → · Palette generator →

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