#FBED7F#FBED7F

#FBED7F is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.5% C 0.132 H 102.1°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#FBED7F
RGBrgb(251, 237, 127)
HSLhsl(53, 94%, 74%)
HSVhsv(53, 49%, 98%)
CMYKcmyk(0%, 5.6%, 49.4%, 1.6%)
CIE-LABlab(92.84, -9.39, 54.51)
CIE-LCHlch(92.84, 55.32, 99.77°)
OKLaboklab(93.51% -0.0277 0.1293)
OKLCHoklch(93.51% 0.132 102.1)
XYZxyz(73.9007, 82.6124, 32.1275)
Luminance0.8261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBED7F #7F8DFB
analogous
#FBAF7F #FBED7F #CBFB7F
triadic
#FBED7F #7FFBED #ED7FFB
tetradic
#FBED7F #7FFBAF #7F8DFB #FB7FCB
square
#FBED7F #7FFBAF #7F8DFB #FB7FCB
split-complementary
#FBED7F #7FCBFB #AF7FFB
monochromatic
#F7DC08 #F9E544 #FBED7F #FDF5BA #FEFBE1

Accessibility & contrast

On white

1.20
#FBED7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#FBED7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBED7F
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBED7F#FFFFFF#000000##000000
##FBED7F1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE775
Deuteranopia (green-blind)
#FFED84
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #fbed7f;
/* rgb */ color: rgb(251, 237, 127);
/* oklch */ color: oklch(93.5% 0.132 102.1);
Tailwind
colors: {
  custom: {
    50: '#fff2a6',
    500: '#fbed7f',
    950: '#000000',
  },
}
SCSS
$custom: #fbed7f;
$custom-light: #fff2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbed7f",
  "rgb": {
    "r": 251,
    "g": 237,
    "b": 127
  },
  "hsl": {
    "h": 53.226,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93507,
    "c": 0.13227,
    "h": 102.1
  },
  "luminance": 0.8261
}

Semantic roles & 50–950 ramp

primary
#FBED7F
secondary
#4656D9
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #FBED7F

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

Preview Lab → · Contrast checker → · Palette generator →

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