#FBF562#FBF562
#FBF562 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.8% C 0.165 H 106.9°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF562 |
|---|---|
| RGB | rgb(251, 245, 98) |
| HSL | hsl(58, 95%, 68%) |
| HSV | hsv(58, 61%, 98%) |
| CMYK | cmyk(0%, 2.4%, 61%, 1.6%) |
| CIE-LAB | lab(94.61, -15.46, 69.30) |
| CIE-LCH | lch(94.61, 71.00, 102.58°) |
| OKLab | oklab(94.82% -0.0481 0.158) |
| OKLCH | oklch(94.82% 0.165 106.9) |
| XYZ | xyz(74.6432, 86.6982, 24.3554) |
| Luminance | 0.8670 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 2.07
Butter Yellow
#FFFD74
ΔE00 2.18
Pastel Yellow
#FFFE71
ΔE00 2.22
Straw
#FCF679
ΔE00 2.40
Custard
#FFFD78
ΔE00 2.47
Canary
#FDFF63
ΔE00 2.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF562 #6268FB
analogous
#FBA862 #FBF562 #B4FB62
triadic
#FBF562 #62FBF5 #F562FB
tetradic
#FBF562 #62FBA8 #6268FB #FB62B4
square
#FBF562 #62FBA8 #6268FB #FB62B4
split-complementary
#FBF562 #62B4FB #A862FB
monochromatic
#DDD506 #F9F126 #FBF562 #FDF99E #FEFDD9
Accessibility & contrast
On white
1.15
#FBF562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.34
#FBF562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF562
18.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF562 | 1.00 | 1.15 | 18.34 | 18.34 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC50
Deuteranopia (green-blind)
#FFF26B
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fbf562; /* rgb */ color: rgb(251, 245, 98); /* oklch */ color: oklch(94.8% 0.165 106.9);
Tailwind
colors: {
custom: {
50: '#fff895',
500: '#fbf562',
950: '#000000',
},
}SCSS
$custom: #fbf562; $custom-light: #fff895; $custom-dark: #000000;
JSON
{
"hex": "#fbf562",
"rgb": {
"r": 251,
"g": 245,
"b": 98
},
"hsl": {
"h": 57.647,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.9482,
"c": 0.16512,
"h": 106.9
},
"luminance": 0.86696
}Semantic roles & 50–950 ramp
primary
#FBF562
secondary
#2D33D5
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F