#FBEF7D#FBEF7D

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

Color values

HEX#FBEF7D
RGBrgb(251, 239, 125)
HSLhsl(54, 94%, 74%)
HSVhsv(54, 50%, 98%)
CMYKcmyk(0%, 4.8%, 50.2%, 1.6%)
CIE-LABlab(93.33, -10.55, 56.03)
CIE-LCHlch(93.33, 57.01, 100.66°)
OKLaboklab(93.89% -0.0312 0.1325)
OKLCHoklch(93.89% 0.136 103.3)
XYZxyz(74.3539, 83.7253, 31.6420)
Luminance0.8372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF7D #7D89FB
analogous
#FBB07D #FBEF7D #C8FB7D
triadic
#FBEF7D #7DFBEF #EF7DFB
tetradic
#FBEF7D #7DFBB0 #7D89FB #FB7DC8
square
#FBEF7D #7DFBB0 #7D89FB #FB7DC8
split-complementary
#FBEF7D #7DC8FB #B07DFB
monochromatic
#F6DF08 #F9E842 #FBEF7D #FDF6B8 #FEFBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBEF7D#FFFFFF#000000##000000
##FBEF7D1.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)
#FFE873
Deuteranopia (green-blind)
#FFEF82
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbef7d;
/* rgb */ color: rgb(251, 239, 125);
/* oklch */ color: oklch(93.9% 0.136 103.3);
Tailwind
colors: {
  custom: {
    50: '#fff4a5',
    500: '#fbef7d',
    950: '#000000',
  },
}
SCSS
$custom: #fbef7d;
$custom-light: #fff4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef7d",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 125
  },
  "hsl": {
    "h": 54.286,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93886,
    "c": 0.13611,
    "h": 103.3
  },
  "luminance": 0.83723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBEF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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