#FBE07F#FBE07F

#FBE07F is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.9% C 0.121 H 94.2°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#FBE07F
RGBrgb(251, 224, 127)
HSLhsl(47, 94%, 74%)
HSVhsv(47, 49%, 98%)
CMYKcmyk(0%, 10.8%, 49.4%, 1.6%)
CIE-LABlab(89.56, -2.88, 50.54)
CIE-LCHlch(89.56, 50.62, 93.26°)
OKLaboklab(90.91% -0.0089 0.1206)
OKLCHoklch(90.91% 0.121 94.2)
XYZxyz(70.2724, 75.3558, 30.9181)
Luminance0.7535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE07F #7F9AFB
analogous
#FBA27F #FBE07F #D8FB7F
triadic
#FBE07F #7FFBE0 #E07FFB
tetradic
#FBE07F #7FFBA2 #7F9AFB #FB7FD8
square
#FBE07F #7FFBA2 #7F9AFB #FB7FD8
split-complementary
#FBE07F #7FD8FB #A27FFB
monochromatic
#F7C308 #F9D244 #FBE07F #FDEEBA #FEF8E1

Accessibility & contrast

On white

1.31
#FBE07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#FBE07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE07F
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE07F#FFFFFF#000000##000000
##FBE07F1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC77
Deuteranopia (green-blind)
#F9E583
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fbe07f;
/* rgb */ color: rgb(251, 224, 127);
/* oklch */ color: oklch(90.9% 0.121 94.2);
Tailwind
colors: {
  custom: {
    50: '#ffe9a6',
    500: '#fbe07f',
    950: '#000000',
  },
}
SCSS
$custom: #fbe07f;
$custom-light: #ffe9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe07f",
  "rgb": {
    "r": 251,
    "g": 224,
    "b": 127
  },
  "hsl": {
    "h": 46.935,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90906,
    "c": 0.12091,
    "h": 94.2
  },
  "luminance": 0.75353
}

Semantic roles & 50–950 ramp

primary
#FBE07F
secondary
#4666D9
accent
#32E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE07F

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

Preview Lab → · Contrast checker → · Palette generator →

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