#FBE77A#FBE77A
#FBE77A is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.2% C 0.132 H 99.1°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).
Color values
| HEX | #FBE77A |
|---|---|
| RGB | rgb(251, 231, 122) |
| HSL | hsl(51, 94%, 73%) |
| HSV | hsv(51, 51%, 98%) |
| CMYK | cmyk(0%, 8%, 51.4%, 1.6%) |
| CIE-LAB | lab(91.27, -6.82, 54.97) |
| CIE-LCH | lch(91.27, 55.39, 97.08°) |
| OKLab | oklab(92.24% -0.0208 0.1299) |
| OKLCH | oklch(92.24% 0.132 99.1) |
| XYZ | xyz(71.8747, 79.0689, 29.8844) |
| Luminance | 0.7907 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 2.38
Sandy Yellow
#FDEE73
ΔE00 2.48
Sand Yellow
#FCE166
ΔE00 2.73
Sandy
#F1DA7A
ΔE00 3.34
Pale Gold
#FDDE6C
ΔE00 3.38
Dull Yellow
#EEDC5B
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBE77A #7A8EFB
analogous
#FBA67A #FBE77A #CEFB7A
triadic
#FBE77A #7AFBE7 #E77AFB
tetradic
#FBE77A #7AFBA6 #7A8EFB #FB7ACE
square
#FBE77A #7AFBA6 #7A8EFB #FB7ACE
split-complementary
#FBE77A #7ACEFB #A67AFB
monochromatic
#F3CF07 #F9DC3F #FBE77A #FDF2B5 #FEFAE1
Accessibility & contrast
On white
1.25
#FBE77A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.81
#FBE77A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBE77A
16.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBE77A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBE77A | 1.00 | 1.25 | 16.81 | 16.81 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E270
Deuteranopia (green-blind)
#FFE97F
Tritanopia (blue-blind)
#FFD9CE
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #fbe77a; /* rgb */ color: rgb(251, 231, 122); /* oklch */ color: oklch(92.2% 0.132 99.1);
Tailwind
colors: {
custom: {
50: '#ffeea3',
500: '#fbe77a',
950: '#000000',
},
}SCSS
$custom: #fbe77a; $custom-light: #ffeea3; $custom-dark: #000000;
JSON
{
"hex": "#fbe77a",
"rgb": {
"r": 251,
"g": 231,
"b": 122
},
"hsl": {
"h": 50.698,
"s": 94.161,
"l": 73.137
},
"oklch": {
"l": 0.92237,
"c": 0.13155,
"h": 99.1
},
"luminance": 0.79066
}Semantic roles & 50–950 ramp
primary
#FBE77A
secondary
#4159D8
accent
#24E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480