#FBF18E#FBF18E

#FBF18E is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.5% C 0.121 H 103.4°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#FBF18E
RGBrgb(251, 241, 142)
HSLhsl(54, 93%, 77%)
HSVhsv(54, 43%, 98%)
CMYKcmyk(0%, 4%, 43.4%, 1.6%)
CIE-LABlab(94.04, -10.00, 48.85)
CIE-LCHlch(94.04, 49.86, 101.56°)
OKLaboklab(94.52% -0.028 0.1179)
OKLCHoklch(94.52% 0.121 103.4)
XYZxyz(76.1231, 85.3750, 38.0550)
Luminance0.8537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF18E #8E98FB
analogous
#FBBA8E #FBF18E #CFFB8E
triadic
#FBF18E #8EFBF1 #F18EFB
tetradic
#FBF18E #8EFBBA #8E98FB #FB8ECF
square
#FBF18E #8EFBBA #8E98FB #FB8ECF
split-complementary
#FBF18E #8ECFFB #BA8EFB
monochromatic
#F7E218 #F9EA53 #FBF18E #FDF8C9 #FEFBE1

Accessibility & contrast

On white

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

On black

18.07
#FBF18E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF18E
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF18E#FFFFFF#000000##000000
##FBF18E1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB86
Deuteranopia (green-blind)
#FFF092
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf18e;
/* rgb */ color: rgb(251, 241, 142);
/* oklch */ color: oklch(94.5% 0.121 103.4);
Tailwind
colors: {
  custom: {
    50: '#fef5b0',
    500: '#fbf18e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf18e;
$custom-light: #fef5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf18e",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 142
  },
  "hsl": {
    "h": 54.495,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94518,
    "c": 0.12114,
    "h": 103.4
  },
  "luminance": 0.85373
}

Semantic roles & 50–950 ramp

primary
#FBF18E
secondary
#535FDB
accent
#15E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FBF18E

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

Preview Lab → · Contrast checker → · Palette generator →

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