#FBF662#FBF662
#FBF662 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.166 H 107.3°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF662 |
|---|---|
| RGB | rgb(251, 246, 98) |
| HSL | hsl(58, 95%, 68%) |
| HSV | hsv(58, 61%, 98%) |
| CMYK | cmyk(0%, 2%, 61%, 1.6%) |
| CIE-LAB | lab(94.87, -15.95, 69.58) |
| CIE-LCH | lch(94.87, 71.38, 102.91°) |
| OKLab | oklab(95.03% -0.0495 0.1585) |
| OKLCH | oklch(95.03% 0.166 107.3) |
| XYZ | xyz(74.9465, 87.3049, 24.4565) |
| Luminance | 0.8730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.00
Butter Yellow
#FFFD74
ΔE00 2.01
Canary
#FDFF63
ΔE00 2.23
Custard
#FFFD78
ΔE00 2.33
Yellowish
#FAEE66
ΔE00 2.35
Straw
#FCF679
ΔE00 2.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF662 #6267FB
analogous
#FBA962 #FBF662 #B3FB62
triadic
#FBF662 #62FBF6 #F662FB
tetradic
#FBF662 #62FBA9 #6267FB #FB62B3
square
#FBF662 #62FBA9 #6267FB #FB62B3
split-complementary
#FBF662 #62B3FB #A962FB
monochromatic
#DDD606 #F9F326 #FBF662 #FDF99E #FEFDD9
Accessibility & contrast
On white
1.14
#FBF662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.46
#FBF662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF662
18.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF662 | 1.00 | 1.14 | 18.46 | 18.46 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFF36B
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #fbf662; /* rgb */ color: rgb(251, 246, 98); /* oklch */ color: oklch(95.0% 0.166 107.3);
Tailwind
colors: {
custom: {
50: '#fff895',
500: '#fbf662',
950: '#000000',
},
}SCSS
$custom: #fbf662; $custom-light: #fff895; $custom-dark: #000000;
JSON
{
"hex": "#fbf662",
"rgb": {
"r": 251,
"g": 246,
"b": 98
},
"hsl": {
"h": 58.039,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.95025,
"c": 0.16608,
"h": 107.3
},
"luminance": 0.87303
}Semantic roles & 50–950 ramp
primary
#FBF662
secondary
#2D32D5
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F