#FBE270#FBE270

#FBE270 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 91.1% C 0.137 H 97.1°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#FBE270
RGBrgb(251, 226, 112)
HSLhsl(49, 95%, 71%)
HSVhsv(49, 55%, 98%)
CMYKcmyk(0%, 10%, 55.4%, 1.6%)
CIE-LABlab(89.89, -5.11, 57.98)
CIE-LCHlch(89.89, 58.20, 95.03°)
OKLaboklab(91.12% -0.017 0.1355)
OKLCHoklch(91.12% 0.137 97.1)
XYZxyz(69.9073, 76.0748, 26.3277)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE270 #7089FB
analogous
#FB9C70 #FBE270 #CEFB70
triadic
#FBE270 #70FBE2 #E270FB
tetradic
#FBE270 #70FB9C #7089FB #FB70CE
square
#FBE270 #70FB9C #7089FB #FB70CE
split-complementary
#FBE270 #70CEFB #9C70FB
monochromatic
#EAC107 #F9D634 #FBE270 #FDEEAC #FEF9E1

Accessibility & contrast

On white

1.30
#FBE270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#FBE270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE270
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE270#FFFFFF#000000##000000
##FBE2701.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD65
Deuteranopia (green-blind)
#FCE675
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #fbe270;
/* rgb */ color: rgb(251, 226, 112);
/* oklch */ color: oklch(91.1% 0.137 97.1);
Tailwind
colors: {
  custom: {
    50: '#ffea9c',
    500: '#fbe270',
    950: '#000000',
  },
}
SCSS
$custom: #fbe270;
$custom-light: #ffea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe270",
  "rgb": {
    "r": 251,
    "g": 226,
    "b": 112
  },
  "hsl": {
    "h": 49.209,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91116,
    "c": 0.13652,
    "h": 97.1
  },
  "luminance": 0.76072
}

Semantic roles & 50–950 ramp

primary
#FBE270
secondary
#3955D7
accent
#29E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE270

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

Preview Lab → · Contrast checker → · Palette generator →

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