#FBE27A#FBE27A

#FBE27A is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.2% C 0.127 H 96.1°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#FBE27A
RGBrgb(251, 226, 122)
HSLhsl(48, 94%, 73%)
HSVhsv(48, 51%, 98%)
CMYKcmyk(0%, 10%, 51.4%, 1.6%)
CIE-LABlab(90.00, -4.31, 53.46)
CIE-LCHlch(90.00, 53.63, 94.61°)
OKLaboklab(91.24% -0.0136 0.1266)
OKLCHoklch(91.24% 0.127 96.1)
XYZxyz(70.4953, 76.3100, 29.4246)
Luminance0.7631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE27A #7A93FB
analogous
#FBA17A #FBE27A #D3FB7A
triadic
#FBE27A #7AFBE2 #E27AFB
tetradic
#FBE27A #7AFBA1 #7A93FB #FB7AD3
square
#FBE27A #7AFBA1 #7A93FB #FB7AD3
split-complementary
#FBE27A #7AD3FB #A17AFB
monochromatic
#F3C607 #F9D53F #FBE27A #FDEFB5 #FEF9E1

Accessibility & contrast

On white

1.29
#FBE27A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#FBE27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE27A
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE27A#FFFFFF#000000##000000
##FBE27A1.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE71
Deuteranopia (green-blind)
#FBE67E
Tritanopia (blue-blind)
#FFD4CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #fbe27a;
/* rgb */ color: rgb(251, 226, 122);
/* oklch */ color: oklch(91.2% 0.127 96.1);
Tailwind
colors: {
  custom: {
    50: '#ffeaa3',
    500: '#fbe27a',
    950: '#000000',
  },
}
SCSS
$custom: #fbe27a;
$custom-light: #ffeaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe27a",
  "rgb": {
    "r": 251,
    "g": 226,
    "b": 122
  },
  "hsl": {
    "h": 48.372,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91238,
    "c": 0.12732,
    "h": 96.1
  },
  "luminance": 0.76307
}

Semantic roles & 50–950 ramp

primary
#FBE27A
secondary
#415ED8
accent
#2CE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE27A

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

Preview Lab → · Contrast checker → · Palette generator →

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