#FFFB4D#FFFB4D
#FFFB4D is a very light, vivid yellow. Relative luminance 0.908; OKLCH L 96.2% C 0.184 H 108.1°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFB4D |
|---|---|
| RGB | rgb(255, 251, 77) |
| HSL | hsl(59, 100%, 65%) |
| HSV | hsv(59, 70%, 100%) |
| CMYK | cmyk(0%, 1.6%, 69.8%, 0%) |
| CIE-LAB | lab(96.32, -17.89, 79.06) |
| CIE-LCH | lch(96.32, 81.06, 102.75°) |
| OKLab | oklab(96.22% -0.0572 0.1752) |
| OKLCH | oklch(96.22% 0.184 108.1) |
| XYZ | xyz(77.0796, 90.7927, 20.4842) |
| Luminance | 0.9079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary Yellow
#FFFE40
ΔE00 1.23
Lemon (survey)
#FDFF52
ΔE00 1.46
Sunshine Yellow
#FFFD37
ΔE00 1.53
Banana Yellow
#FAFE4B
ΔE00 1.70
Lemon Yellow
#FDFF38
ΔE00 1.89
Off Yellow
#F1F33F
ΔE00 2.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFB4D #4D51FF
analogous
#FFA24D #FFFB4D #AAFF4D
triadic
#FFFB4D #4DFFFB #FB4DFF
tetradic
#FFFB4D #4DFFA2 #4D51FF #FF4DAA
square
#FFFB4D #4DFFA2 #4D51FF #FF4DAA
split-complementary
#FFFB4D #4DAAFF #A24DFF
monochromatic
#D2CD00 #FFFA10 #FFFB4D #FFFC8A #FFFEC7
Accessibility & contrast
On white
1.10
#FFFB4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.16
#FFFB4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFB4D
19.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFB4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFB4D | 1.00 | 1.10 | 19.16 | 19.16 |
| #FFFFFF | 1.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF12E
Deuteranopia (green-blind)
#FFF75A
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F4F4F4
Design tokens & code
CSS
--color: #fffb4d; /* rgb */ color: rgb(255, 251, 77); /* oklch */ color: oklch(96.2% 0.184 108.1);
Tailwind
colors: {
custom: {
50: '#fffc89',
500: '#fffb4d',
950: '#000000',
},
}SCSS
$custom: #fffb4d; $custom-light: #fffc89; $custom-dark: #000000;
JSON
{
"hex": "#fffb4d",
"rgb": {
"r": 255,
"g": 251,
"b": 77
},
"hsl": {
"h": 58.652,
"s": 100,
"l": 65.098
},
"oklch": {
"l": 0.96217,
"c": 0.18435,
"h": 108.1
},
"luminance": 0.9079
}Semantic roles & 50–950 ramp
primary
#FFFB4D
secondary
#2428CC
accent
#05E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F