#FCF07A#FCF07A
#FCF07A is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.1% C 0.140 H 103.5°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF07A |
|---|---|
| RGB | rgb(252, 240, 122) |
| HSL | hsl(54, 96%, 73%) |
| HSV | hsv(54, 52%, 99%) |
| CMYK | cmyk(0%, 4.8%, 51.6%, 1.2%) |
| CIE-LAB | lab(93.63, -10.89, 57.79) |
| CIE-LCH | lch(93.63, 58.81, 100.67°) |
| OKLab | oklab(94.14% -0.0326 0.136) |
| OKLCH | oklch(94.14% 0.14 103.5) |
| XYZ | xyz(74.8200, 84.4232, 30.7627) |
| Luminance | 0.8442 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.06
Straw
#FCF679
ΔE00 1.91
Yellowish
#FAEE66
ΔE00 2.14
Manilla
#FFFA86
ΔE00 2.58
Yellowish Tan
#FCFC81
ΔE00 3.56
Custard
#FFFD78
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF07A #7A86FC
analogous
#FCAF7A #FCF07A #C7FC7A
triadic
#FCF07A #7AFCF0 #F07AFC
tetradic
#FCF07A #7AFCAF #7A86FC #FC7AC7
square
#FCF07A #7AFCAF #7A86FC #FC7AC7
split-complementary
#FCF07A #7AC7FC #AF7AFC
monochromatic
#F6E006 #FBE93E #FCF07A #FDF7B6 #FEFCE1
Accessibility & contrast
On white
1.17
#FCF07A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.88
#FCF07A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF07A
17.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF07A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF07A | 1.00 | 1.17 | 17.88 | 17.88 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE96F
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #fcf07a; /* rgb */ color: rgb(252, 240, 122); /* oklch */ color: oklch(94.1% 0.140 103.5);
Tailwind
colors: {
custom: {
50: '#fff4a3',
500: '#fcf07a',
950: '#000000',
},
}SCSS
$custom: #fcf07a; $custom-light: #fff4a3; $custom-dark: #000000;
JSON
{
"hex": "#fcf07a",
"rgb": {
"r": 252,
"g": 240,
"b": 122
},
"hsl": {
"h": 54.462,
"s": 95.588,
"l": 73.333
},
"oklch": {
"l": 0.94135,
"c": 0.13988,
"h": 103.5
},
"luminance": 0.84421
}Semantic roles & 50–950 ramp
primary
#FCF07A
secondary
#414FD9
accent
#15E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580