#FEFB97#FEFB97
#FEFB97 is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.9% C 0.122 H 107.0°. Best body text is #000000 at 19.46:1 contrast (WCAG AA passes).
Color values
| HEX | #FEFB97 |
|---|---|
| RGB | rgb(254, 251, 151) |
| HSL | hsl(58, 98%, 79%) |
| HSV | hsv(58, 41%, 100%) |
| CMYK | cmyk(0%, 1.2%, 40.6%, 0.4%) |
| CIE-LAB | lab(96.94, -12.86, 48.20) |
| CIE-LCH | lch(96.94, 49.88, 104.94°) |
| OKLab | oklab(96.92% -0.0357 0.1169) |
| OKLCH | oklch(96.92% 0.122 107) |
| XYZ | xyz(80.9575, 92.3014, 42.8234) |
| Luminance | 0.9230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 2.27
Manilla
#FFFA86
ΔE00 2.33
Dark Cream
#FFF39A
ΔE00 3.05
Yellowish Tan
#FCFC81
ΔE00 3.07
Pale Yellow
#FFFF84
ΔE00 3.09
Butter
#FFFF81
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FEFB97 #979AFE
analogous
#FEC797 #FEFB97 #CEFE97
triadic
#FEFB97 #97FEFB #FB97FE
tetradic
#FEFB97 #97FEC7 #979AFE #FE97CE
square
#FEFB97 #97FEC7 #979AFE #FE97CE
split-complementary
#FEFB97 #97CEFE #C797FE
monochromatic
#FDF61E #FDF95A #FEFB97 #FFFDD4 #FFFEE1
Accessibility & contrast
On white
1.08
#FEFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.46
#FEFB97 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FEFB97
19.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FEFB97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FEFB97 | 1.00 | 1.08 | 19.46 | 19.46 |
| #FFFFFF | 1.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF48F
Deuteranopia (green-blind)
#FFF89B
Tritanopia (blue-blind)
#FFEFE3
Achromatopsia (no color)
#F6F6F6
Design tokens & code
CSS
--color: #fefb97; /* rgb */ color: rgb(254, 251, 151); /* oklch */ color: oklch(96.9% 0.122 107.0);
Tailwind
colors: {
custom: {
50: '#fffcb7',
500: '#fefb97',
950: '#000000',
},
}SCSS
$custom: #fefb97; $custom-light: #fffcb7; $custom-dark: #000000;
JSON
{
"hex": "#fefb97",
"rgb": {
"r": 254,
"g": 251,
"b": 151
},
"hsl": {
"h": 58.252,
"s": 98.095,
"l": 79.412
},
"oklch": {
"l": 0.96916,
"c": 0.12219,
"h": 107
},
"luminance": 0.923
}Semantic roles & 50–950 ramp
primary
#FEFB97
secondary
#595DE0
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581