#FBEF7C#FBEF7C

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

Color values

HEX#FBEF7C
RGBrgb(251, 239, 124)
HSLhsl(54, 94%, 74%)
HSVhsv(54, 51%, 98%)
CMYKcmyk(0%, 4.8%, 50.6%, 1.6%)
CIE-LABlab(93.32, -10.63, 56.48)
CIE-LCHlch(93.32, 57.47, 100.66°)
OKLaboklab(93.87% -0.0316 0.1334)
OKLCHoklch(93.87% 0.137 103.3)
XYZxyz(74.2904, 83.6999, 31.3072)
Luminance0.8370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF7C #7C88FB
analogous
#FBAF7C #FBEF7C #C7FB7C
triadic
#FBEF7C #7CFBEF #EF7CFB
tetradic
#FBEF7C #7CFBAF #7C88FB #FB7CC7
square
#FBEF7C #7CFBAF #7C88FB #FB7CC7
split-complementary
#FBEF7C #7CC7FB #AF7CFB
monochromatic
#F5DF07 #F9E841 #FBEF7C #FDF6B7 #FEFBE1

Accessibility & contrast

On white

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

On black

17.74
#FBEF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF7C
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF7C#FFFFFF#000000##000000
##FBEF7C1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbef7c;
/* rgb */ color: rgb(251, 239, 124);
/* oklch */ color: oklch(93.9% 0.137 103.3);
Tailwind
colors: {
  custom: {
    50: '#fff4a4',
    500: '#fbef7c',
    950: '#000000',
  },
}
SCSS
$custom: #fbef7c;
$custom-light: #fff4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef7c",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 124
  },
  "hsl": {
    "h": 54.331,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93874,
    "c": 0.13706,
    "h": 103.3
  },
  "luminance": 0.83697
}

Semantic roles & 50–950 ramp

primary
#FBEF7C
secondary
#4351D8
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBEF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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