#FBF462#FBF462
#FBF462 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.164 H 106.5°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF462 |
|---|---|
| RGB | rgb(251, 244, 98) |
| HSL | hsl(57, 95%, 68%) |
| HSV | hsv(57, 61%, 98%) |
| CMYK | cmyk(0%, 2.8%, 61%, 1.6%) |
| CIE-LAB | lab(94.35, -14.98, 69.02) |
| CIE-LCH | lch(94.35, 70.63, 102.24°) |
| OKLab | oklab(94.62% -0.0467 0.1574) |
| OKLCH | oklch(94.62% 0.164 106.5) |
| XYZ | xyz(74.3415, 86.0948, 24.2548) |
| Luminance | 0.8609 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.79
Butter Yellow
#FFFD74
ΔE00 2.38
Straw
#FCF679
ΔE00 2.38
Pastel Yellow
#FFFE71
ΔE00 2.45
Custard
#FFFD78
ΔE00 2.64
Canary
#FDFF63
ΔE00 2.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF462 #6269FB
analogous
#FBA762 #FBF462 #B5FB62
triadic
#FBF462 #62FBF4 #F462FB
tetradic
#FBF462 #62FBA7 #6269FB #FB62B5
square
#FBF462 #62FBA7 #6269FB #FB62B5
split-complementary
#FBF462 #62B5FB #A762FB
monochromatic
#DDD306 #F9F026 #FBF462 #FDF89E #FEFCD9
Accessibility & contrast
On white
1.15
#FBF462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.22
#FBF462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF462
18.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF462 | 1.00 | 1.15 | 18.22 | 18.22 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFF26B
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fbf462; /* rgb */ color: rgb(251, 244, 98); /* oklch */ color: oklch(94.6% 0.164 106.5);
Tailwind
colors: {
custom: {
50: '#fff794',
500: '#fbf462',
950: '#000000',
},
}SCSS
$custom: #fbf462; $custom-light: #fff794; $custom-dark: #000000;
JSON
{
"hex": "#fbf462",
"rgb": {
"r": 251,
"g": 244,
"b": 98
},
"hsl": {
"h": 57.255,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.94615,
"c": 0.16416,
"h": 106.5
},
"luminance": 0.86092
}Semantic roles & 50–950 ramp
primary
#FBF462
secondary
#2D34D5
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F