#FBEF8E#FBEF8E

#FBEF8E is a very light, moderate yellow. Relative luminance 0.842; OKLCH L 94.1% C 0.119 H 102.2°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#FBEF8E
RGBrgb(251, 239, 142)
HSLhsl(53, 93%, 77%)
HSVhsv(53, 43%, 98%)
CMYKcmyk(0%, 4.8%, 43.4%, 1.6%)
CIE-LABlab(93.54, -9.01, 48.22)
CIE-LCHlch(93.54, 49.05, 100.58°)
OKLaboklab(94.12% -0.0252 0.1164)
OKLCHoklch(94.12% 0.119 102.2)
XYZxyz(75.5343, 84.1975, 37.8588)
Luminance0.8419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF8E #8E9AFB
analogous
#FBB88E #FBEF8E #D1FB8E
triadic
#FBEF8E #8EFBEF #EF8EFB
tetradic
#FBEF8E #8EFBB8 #8E9AFB #FB8ED1
square
#FBEF8E #8EFBB8 #8E9AFB #FB8ED1
split-complementary
#FBEF8E #8ED1FB #B88EFB
monochromatic
#F7DE18 #F9E753 #FBEF8E #FDF7C9 #FEFBE1

Accessibility & contrast

On white

1.18
#FBEF8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.84
#FBEF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF8E
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF8E#FFFFFF#000000##000000
##FBEF8E1.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE986
Deuteranopia (green-blind)
#FFEF92
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbef8e;
/* rgb */ color: rgb(251, 239, 142);
/* oklch */ color: oklch(94.1% 0.119 102.2);
Tailwind
colors: {
  custom: {
    50: '#fef4b0',
    500: '#fbef8e',
    950: '#000000',
  },
}
SCSS
$custom: #fbef8e;
$custom-light: #fef4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef8e",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 142
  },
  "hsl": {
    "h": 53.394,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94115,
    "c": 0.11913,
    "h": 102.2
  },
  "luminance": 0.84195
}

Semantic roles & 50–950 ramp

primary
#FBEF8E
secondary
#5362DB
accent
#19E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FBEF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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