#FBE98F#FBE98F

#FBE98F is a very light, moderate yellow. Relative luminance 0.808; OKLCH L 92.9% C 0.112 H 98.3°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#FBE98F
RGBrgb(251, 233, 143)
HSLhsl(50, 93%, 77%)
HSVhsv(50, 43%, 98%)
CMYKcmyk(0%, 7.2%, 43%, 1.6%)
CIE-LABlab(92.03, -5.92, 45.84)
CIE-LCHlch(92.03, 46.22, 97.35°)
OKLaboklab(92.93% -0.0162 0.1111)
OKLCHoklch(92.93% 0.112 98.3)
XYZxyz(73.8823, 80.7727, 37.6801)
Luminance0.8077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE98F #8FA1FB
analogous
#FBB38F #FBE98F #D7FB8F
triadic
#FBE98F #8FFBE9 #E98FFB
tetradic
#FBE98F #8FFBB3 #8FA1FB #FB8FD7
square
#FBE98F #8FFBB3 #8FA1FB #FB8FD7
split-complementary
#FBE98F #8FD7FB #B38FFB
monochromatic
#F7D219 #F9DD54 #FBE98F #FDF5CA #FEF9E1

Accessibility & contrast

On white

1.22
#FBE98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.15
#FBE98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE98F
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE98F#FFFFFF#000000##000000
##FBE98F1.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E488
Deuteranopia (green-blind)
#FEEB93
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fbe98f;
/* rgb */ color: rgb(251, 233, 143);
/* oklch */ color: oklch(92.9% 0.112 98.3);
Tailwind
colors: {
  custom: {
    50: '#feefb1',
    500: '#fbe98f',
    950: '#000000',
  },
}
SCSS
$custom: #fbe98f;
$custom-light: #feefb1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe98f",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 143
  },
  "hsl": {
    "h": 50,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92927,
    "c": 0.11231,
    "h": 98.3
  },
  "luminance": 0.8077
}

Semantic roles & 50–950 ramp

primary
#FBE98F
secondary
#536ADB
accent
#26E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FBE98F

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

Preview Lab → · Contrast checker → · Palette generator →

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