#FBEF7E#FBEF7E

#FBEF7E is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.9% C 0.135 H 103.2°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#FBEF7E
RGBrgb(251, 239, 126)
HSLhsl(54, 94%, 74%)
HSVhsv(54, 50%, 98%)
CMYKcmyk(0%, 4.8%, 49.8%, 1.6%)
CIE-LABlab(93.34, -10.46, 55.58)
CIE-LCHlch(93.34, 56.55, 100.66°)
OKLaboklab(93.9% -0.0309 0.1316)
OKLCHoklch(93.9% 0.135 103.2)
XYZxyz(74.4181, 83.7510, 31.9801)
Luminance0.8375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF7E #7E8AFB
analogous
#FBB17E #FBEF7E #C9FB7E
triadic
#FBEF7E #7EFBEF #EF7EFB
tetradic
#FBEF7E #7EFBB1 #7E8AFB #FB7EC9
square
#FBEF7E #7EFBB1 #7E8AFB #FB7EC9
split-complementary
#FBEF7E #7EC9FB #B17EFB
monochromatic
#F7E008 #F9E843 #FBEF7E #FDF6B9 #FEFBE1

Accessibility & contrast

On white

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

On black

17.75
#FBEF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF7E
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF7E#FFFFFF#000000##000000
##FBEF7E1.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE874
Deuteranopia (green-blind)
#FFEF83
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbef7e;
/* rgb */ color: rgb(251, 239, 126);
/* oklch */ color: oklch(93.9% 0.135 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff4a6',
    500: '#fbef7e',
    950: '#000000',
  },
}
SCSS
$custom: #fbef7e;
$custom-light: #fff4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef7e",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 126
  },
  "hsl": {
    "h": 54.24,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93899,
    "c": 0.13515,
    "h": 103.2
  },
  "luminance": 0.83749
}

Semantic roles & 50–950 ramp

primary
#FBEF7E
secondary
#4553D9
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBEF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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