#FBEF7F#FBEF7F

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

Color values

HEX#FBEF7F
RGBrgb(251, 239, 127)
HSLhsl(54, 94%, 74%)
HSVhsv(54, 49%, 98%)
CMYKcmyk(0%, 4.8%, 49.4%, 1.6%)
CIE-LABlab(93.35, -10.38, 55.12)
CIE-LCHlch(93.35, 56.09, 100.66°)
OKLaboklab(93.91% -0.0306 0.1307)
OKLCHoklch(93.91% 0.134 103.2)
XYZxyz(74.4830, 83.7769, 32.3216)
Luminance0.8377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF7F #7F8BFB
analogous
#FBB17F #FBEF7F #C9FB7F
triadic
#FBEF7F #7FFBEF #EF7FFB
tetradic
#FBEF7F #7FFBB1 #7F8BFB #FB7FC9
square
#FBEF7F #7FFBB1 #7F8BFB #FB7FC9
split-complementary
#FBEF7F #7FC9FB #B17FFB
monochromatic
#F7E008 #F9E844 #FBEF7F #FDF6BA #FEFBE1

Accessibility & contrast

On white

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

On black

17.76
#FBEF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF7F
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF7F#FFFFFF#000000##000000
##FBEF7F1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbef7f;
/* rgb */ color: rgb(251, 239, 127);
/* oklch */ color: oklch(93.9% 0.134 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff4a6',
    500: '#fbef7f',
    950: '#000000',
  },
}
SCSS
$custom: #fbef7f;
$custom-light: #fff4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef7f",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 127
  },
  "hsl": {
    "h": 54.194,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93911,
    "c": 0.1342,
    "h": 103.2
  },
  "luminance": 0.83775
}

Semantic roles & 50–950 ramp

primary
#FBEF7F
secondary
#4654D9
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBEF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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