#FBED97#FBED97

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

Color values

HEX#FBED97
RGBrgb(251, 237, 151)
HSLhsl(52, 93%, 79%)
HSVhsv(52, 40%, 98%)
CMYKcmyk(0%, 5.6%, 39.8%, 1.6%)
CIE-LABlab(93.15, -7.10, 43.34)
CIE-LCHlch(93.15, 43.92, 99.31°)
OKLaboklab(93.85% -0.019 0.1059)
OKLCHoklch(93.85% 0.108 100.2)
XYZxyz(75.6552, 83.3142, 41.3681)
Luminance0.8331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBED97 #97A5FB
analogous
#FBBB97 #FBED97 #D7FB97
triadic
#FBED97 #97FBED #ED97FB
tetradic
#FBED97 #97FBBB #97A5FB #FB97D7
square
#FBED97 #97FBBB #97A5FB #FB97D7
split-complementary
#FBED97 #97D7FB #BB97FB
monochromatic
#F6D921 #F9E35C #FBED97 #FDF7D2 #FEFAE2

Accessibility & contrast

On white

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

On black

17.66
#FBED97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBED97
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBED97#FFFFFF#000000##000000
##FBED971.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbed97;
/* rgb */ color: rgb(251, 237, 151);
/* oklch */ color: oklch(93.9% 0.108 100.2);
Tailwind
colors: {
  custom: {
    50: '#fef2b6',
    500: '#fbed97',
    950: '#000000',
  },
}
SCSS
$custom: #fbed97;
$custom-light: #fef2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbed97",
  "rgb": {
    "r": 251,
    "g": 237,
    "b": 151
  },
  "hsl": {
    "h": 51.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93851,
    "c": 0.10755,
    "h": 100.2
  },
  "luminance": 0.83312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBED97

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

Preview Lab → · Contrast checker → · Palette generator →

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