#FCF460#FCF460
#FCF460 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.166 H 106.2°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF460 |
|---|---|
| RGB | rgb(252, 244, 96) |
| HSL | hsl(57, 96%, 68%) |
| HSV | hsv(57, 62%, 99%) |
| CMYK | cmyk(0%, 3.2%, 61.9%, 1.2%) |
| CIE-LAB | lab(94.42, -14.70, 69.93) |
| CIE-LCH | lch(94.42, 71.46, 101.87°) |
| OKLab | oklab(94.68% -0.0462 0.159) |
| OKLCH | oklch(94.68% 0.166 106.2) |
| XYZ | xyz(74.6095, 86.2438, 23.7807) |
| Luminance | 0.8624 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.78
Butter Yellow
#FFFD74
ΔE00 2.60
Straw
#FCF679
ΔE00 2.62
Pastel Yellow
#FFFE71
ΔE00 2.65
Custard
#FFFD78
ΔE00 2.87
Canary
#FDFF63
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF460 #6068FC
analogous
#FCA660 #FCF460 #B6FC60
triadic
#FCF460 #60FCF4 #F460FC
tetradic
#FCF460 #60FCA6 #6068FC #FC60B6
square
#FCF460 #60FCA6 #6068FC #FC60B6
split-complementary
#FCF460 #60B6FC #A660FC
monochromatic
#DDD204 #FBF024 #FCF460 #FDF89C #FEFCD8
Accessibility & contrast
On white
1.15
#FCF460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.25
#FCF460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF460
18.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF460 | 1.00 | 1.15 | 18.25 | 18.25 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB4E
Deuteranopia (green-blind)
#FFF269
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fcf460; /* rgb */ color: rgb(252, 244, 96); /* oklch */ color: oklch(94.7% 0.166 106.2);
Tailwind
colors: {
custom: {
50: '#fff793',
500: '#fcf460',
950: '#000000',
},
}SCSS
$custom: #fcf460; $custom-light: #fff793; $custom-dark: #000000;
JSON
{
"hex": "#fcf460",
"rgb": {
"r": 252,
"g": 244,
"b": 96
},
"hsl": {
"h": 56.923,
"s": 96.296,
"l": 68.235
},
"oklch": {
"l": 0.9468,
"c": 0.16557,
"h": 106.2
},
"luminance": 0.86241
}Semantic roles & 50–950 ramp
primary
#FCF460
secondary
#2B33D6
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F