#FBED98#FBED98

#FBED98 is a very light, moderate yellow. Relative luminance 0.833; OKLCH L 93.9% C 0.106 H 100.1°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#FBED98
RGBrgb(251, 237, 152)
HSLhsl(52, 93%, 79%)
HSVhsv(52, 39%, 98%)
CMYKcmyk(0%, 5.6%, 39.4%, 1.6%)
CIE-LABlab(93.17, -7.00, 42.86)
CIE-LCHlch(93.17, 43.43, 99.27°)
OKLaboklab(93.87% -0.0186 0.1048)
OKLCHoklch(93.87% 0.106 100.1)
XYZxyz(75.7368, 83.3468, 41.7976)
Luminance0.8335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBED98 #98A6FB
analogous
#FBBC98 #FBED98 #D8FB98
triadic
#FBED98 #98FBED #ED98FB
tetradic
#FBED98 #98FBBC #98A6FB #FB98D8
square
#FBED98 #98FBBC #98A6FB #FB98D8
split-complementary
#FBED98 #98D8FB #BC98FB
monochromatic
#F6D822 #F9E35D #FBED98 #FDF7D3 #FEFAE2

Accessibility & contrast

On white

1.19
#FBED98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#FBED98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBED98
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBED98#FFFFFF#000000##000000
##FBED981.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE892
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#FFE2D8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fbed98;
/* rgb */ color: rgb(251, 237, 152);
/* oklch */ color: oklch(93.9% 0.106 100.1);
Tailwind
colors: {
  custom: {
    50: '#fef2b7',
    500: '#fbed98',
    950: '#000000',
  },
}
SCSS
$custom: #fbed98;
$custom-light: #fef2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbed98",
  "rgb": {
    "r": 251,
    "g": 237,
    "b": 152
  },
  "hsl": {
    "h": 51.515,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93866,
    "c": 0.10646,
    "h": 100.1
  },
  "luminance": 0.83345
}

Semantic roles & 50–950 ramp

primary
#FBED98
secondary
#5B6DDC
accent
#20E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FBED98

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

Preview Lab → · Contrast checker → · Palette generator →

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