#FBE98E#FBE98E

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

Color values

HEX#FBE98E
RGBrgb(251, 233, 142)
HSLhsl(50, 93%, 77%)
HSVhsv(50, 43%, 98%)
CMYKcmyk(0%, 7.2%, 43.4%, 1.6%)
CIE-LABlab(92.02, -6.02, 46.32)
CIE-LCHlch(92.02, 46.71, 97.40°)
OKLaboklab(92.91% -0.0166 0.1122)
OKLCHoklch(92.91% 0.113 98.4)
XYZxyz(73.8069, 80.7425, 37.2829)
Luminance0.8074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE98E #8EA0FB
analogous
#FBB38E #FBE98E #D6FB8E
triadic
#FBE98E #8EFBE9 #E98EFB
tetradic
#FBE98E #8EFBB3 #8EA0FB #FB8ED6
square
#FBE98E #8EFBB3 #8EA0FB #FB8ED6
split-complementary
#FBE98E #8ED6FB #B38EFB
monochromatic
#F7D218 #F9DD53 #FBE98E #FDF5C9 #FEF9E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBE98E#FFFFFF#000000##000000
##FBE98E1.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)
#F9E487
Deuteranopia (green-blind)
#FEEB92
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fbe98e;
/* rgb */ color: rgb(251, 233, 142);
/* oklch */ color: oklch(92.9% 0.113 98.4);
Tailwind
colors: {
  custom: {
    50: '#feefb0',
    500: '#fbe98e',
    950: '#000000',
  },
}
SCSS
$custom: #fbe98e;
$custom-light: #feefb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe98e",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 142
  },
  "hsl": {
    "h": 50.092,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92912,
    "c": 0.11337,
    "h": 98.4
  },
  "luminance": 0.8074
}

Semantic roles & 50–950 ramp

primary
#FBE98E
secondary
#5369DB
accent
#26E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181611
muted
#868581

Preview Lab

Preview with #FBE98E

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

Preview Lab → · Contrast checker → · Palette generator →

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