#FBEF7A#FBEF7A

#FBEF7A is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.139 H 103.4°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#FBEF7A
RGBrgb(251, 239, 122)
HSLhsl(54, 94%, 73%)
HSVhsv(54, 51%, 98%)
CMYKcmyk(0%, 4.8%, 51.4%, 1.6%)
CIE-LABlab(93.30, -10.80, 57.37)
CIE-LCHlch(93.30, 58.38, 100.66°)
OKLaboklab(93.85% -0.0323 0.1351)
OKLCHoklch(93.85% 0.139 103.4)
XYZxyz(74.1652, 83.6498, 30.6479)
Luminance0.8365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF7A #7A86FB
analogous
#FBAF7A #FBEF7A #C6FB7A
triadic
#FBEF7A #7AFBEF #EF7AFB
tetradic
#FBEF7A #7AFBAF #7A86FB #FB7AC6
square
#FBEF7A #7AFBAF #7A86FB #FB7AC6
split-complementary
#FBEF7A #7AC6FB #AF7AFB
monochromatic
#F3DD07 #F9E83F #FBEF7A #FDF6B5 #FEFBE1

Accessibility & contrast

On white

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

On black

17.73
#FBEF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF7A
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF7A#FFFFFF#000000##000000
##FBEF7A1.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86F
Deuteranopia (green-blind)
#FFEF80
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbef7a;
/* rgb */ color: rgb(251, 239, 122);
/* oklch */ color: oklch(93.8% 0.139 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff4a3',
    500: '#fbef7a',
    950: '#000000',
  },
}
SCSS
$custom: #fbef7a;
$custom-light: #fff4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef7a",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 54.419,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93849,
    "c": 0.13894,
    "h": 103.4
  },
  "luminance": 0.83647
}

Semantic roles & 50–950 ramp

primary
#FBEF7A
secondary
#414FD8
accent
#15E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBEF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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