#FCF279#FCF279
#FCF279 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.143 H 104.5°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF279 |
|---|---|
| RGB | rgb(252, 242, 121) |
| HSL | hsl(55, 96%, 73%) |
| HSV | hsv(55, 52%, 99%) |
| CMYK | cmyk(0%, 4%, 52%, 1.2%) |
| CIE-LAB | lab(94.13, -11.96, 58.83) |
| CIE-LCH | lch(94.13, 60.03, 101.49°) |
| OKLab | oklab(94.53% -0.0358 0.1382) |
| OKLCH | oklch(94.53% 0.143 104.5) |
| XYZ | xyz(75.3504, 85.5826, 30.6354) |
| Luminance | 0.8558 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.24
Sandy Yellow
#FDEE73
ΔE00 1.47
Yellowish
#FAEE66
ΔE00 2.03
Manilla
#FFFA86
ΔE00 2.11
Custard
#FFFD78
ΔE00 2.91
Yellowish Tan
#FCFC81
ΔE00 2.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF279 #7983FC
analogous
#FCB079 #FCF279 #C4FC79
triadic
#FCF279 #79FCF2 #F279FC
tetradic
#FCF279 #79FCB0 #7983FC #FC79C4
square
#FCF279 #79FCB0 #7983FC #FC79C4
split-complementary
#FCF279 #79C4FC #B079FC
monochromatic
#F5E305 #FBEC3D #FCF279 #FDF8B5 #FEFCE1
Accessibility & contrast
On white
1.16
#FCF279 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.12
#FCF279 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF279
18.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF279 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF279 | 1.00 | 1.16 | 18.12 | 18.12 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fcf279; /* rgb */ color: rgb(252, 242, 121); /* oklch */ color: oklch(94.5% 0.143 104.5);
Tailwind
colors: {
custom: {
50: '#fff6a3',
500: '#fcf279',
950: '#000000',
},
}SCSS
$custom: #fcf279; $custom-light: #fff6a3; $custom-dark: #000000;
JSON
{
"hex": "#fcf279",
"rgb": {
"r": 252,
"g": 242,
"b": 121
},
"hsl": {
"h": 55.42,
"s": 95.62,
"l": 73.137
},
"oklch": {
"l": 0.94529,
"c": 0.14274,
"h": 104.5
},
"luminance": 0.8558
}Semantic roles & 50–950 ramp
primary
#FCF279
secondary
#404CD9
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580