#FBF27E#FBF27E

#FBF27E is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.5% C 0.138 H 104.7°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#FBF27E
RGBrgb(251, 242, 126)
HSLhsl(56, 94%, 74%)
HSVhsv(56, 50%, 98%)
CMYKcmyk(0%, 3.6%, 49.8%, 1.6%)
CIE-LABlab(94.11, -11.94, 56.49)
CIE-LCHlch(94.11, 57.74, 101.94°)
OKLaboklab(94.51% -0.0351 0.1336)
OKLCHoklch(94.51% 0.138 104.7)
XYZxyz(75.3037, 85.5221, 32.2753)
Luminance0.8552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF27E #7E87FB
analogous
#FBB47E #FBF27E #C6FB7E
triadic
#FBF27E #7EFBF2 #F27EFB
tetradic
#FBF27E #7EFBB4 #7E87FB #FB7EC6
square
#FBF27E #7EFBB4 #7E87FB #FB7EC6
split-complementary
#FBF27E #7EC6FB #B47EFB
monochromatic
#F7E608 #F9EC43 #FBF27E #FDF8B9 #FEFCE1

Accessibility & contrast

On white

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

On black

18.10
#FBF27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF27E
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF27E#FFFFFF#000000##000000
##FBF27E1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB73
Deuteranopia (green-blind)
#FFF184
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf27e;
/* rgb */ color: rgb(251, 242, 126);
/* oklch */ color: oklch(94.5% 0.138 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff6a6',
    500: '#fbf27e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf27e;
$custom-light: #fff6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf27e",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 126
  },
  "hsl": {
    "h": 55.68,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94506,
    "c": 0.13812,
    "h": 104.7
  },
  "luminance": 0.8552
}

Semantic roles & 50–950 ramp

primary
#FBF27E
secondary
#454FD9
accent
#11E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF27E

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

Preview Lab → · Contrast checker → · Palette generator →

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