#FBF279#FBF279
#FBF279 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.143 H 105.0°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF279 |
|---|---|
| RGB | rgb(251, 242, 121) |
| HSL | hsl(56, 94%, 73%) |
| HSV | hsv(56, 52%, 98%) |
| CMYK | cmyk(0%, 3.6%, 51.8%, 1.6%) |
| CIE-LAB | lab(94.05, -12.35, 58.72) |
| CIE-LCH | lch(94.05, 60.00, 101.88°) |
| OKLab | oklab(94.45% -0.0368 0.138) |
| OKLCH | oklch(94.45% 0.143 105) |
| XYZ | xyz(74.9891, 85.3963, 30.6184) |
| Luminance | 0.8539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.08
Sandy Yellow
#FDEE73
ΔE00 1.68
Manilla
#FFFA86
ΔE00 1.99
Yellowish
#FAEE66
ΔE00 2.11
Yellowish Tan
#FCFC81
ΔE00 2.77
Custard
#FFFD78
ΔE00 2.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF279 #7982FB
analogous
#FBB179 #FBF279 #C3FB79
triadic
#FBF279 #79FBF2 #F279FB
tetradic
#FBF279 #79FBB1 #7982FB #FB79C3
square
#FBF279 #79FBB1 #7982FB #FB79C3
split-complementary
#FBF279 #79C3FB #B179FB
monochromatic
#F2E207 #F9EC3E #FBF279 #FDF8B4 #FEFCE1
Accessibility & contrast
On white
1.16
#FBF279 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.08
#FBF279 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF279
18.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF279 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF279 | 1.00 | 1.16 | 18.08 | 18.08 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fbf279; /* rgb */ color: rgb(251, 242, 121); /* oklch */ color: oklch(94.4% 0.143 105.0);
Tailwind
colors: {
custom: {
50: '#fff6a3',
500: '#fbf279',
950: '#000000',
},
}SCSS
$custom: #fbf279; $custom-light: #fff6a3; $custom-dark: #000000;
JSON
{
"hex": "#fbf279",
"rgb": {
"r": 251,
"g": 242,
"b": 121
},
"hsl": {
"h": 55.846,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.94446,
"c": 0.14279,
"h": 105
},
"luminance": 0.85394
}Semantic roles & 50–950 ramp
primary
#FBF279
secondary
#404BD8
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580