#FCF278#FCF278
#FCF278 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.144 H 104.5°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF278 |
|---|---|
| RGB | rgb(252, 242, 120) |
| HSL | hsl(55, 96%, 73%) |
| HSV | hsv(55, 52%, 99%) |
| CMYK | cmyk(0%, 4%, 52.4%, 1.2%) |
| CIE-LAB | lab(94.12, -12.04, 59.27) |
| CIE-LCH | lch(94.12, 60.48, 101.48°) |
| OKLab | oklab(94.52% -0.0361 0.1391) |
| OKLCH | oklch(94.52% 0.144 104.5) |
| XYZ | xyz(75.2894, 85.5582, 30.3141) |
| Luminance | 0.8556 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.21
Sandy Yellow
#FDEE73
ΔE00 1.44
Yellowish
#FAEE66
ΔE00 1.92
Manilla
#FFFA86
ΔE00 2.16
Custard
#FFFD78
ΔE00 2.87
Yellowish Tan
#FCFC81
ΔE00 2.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF278 #7882FC
analogous
#FCB078 #FCF278 #C4FC78
triadic
#FCF278 #78FCF2 #F278FC
tetradic
#FCF278 #78FCB0 #7882FC #FC78C4
square
#FCF278 #78FCB0 #7882FC #FC78C4
split-complementary
#FCF278 #78C4FC #B078FC
monochromatic
#F4E205 #FBEC3C #FCF278 #FDF8B4 #FEFCE1
Accessibility & contrast
On white
1.16
#FCF278 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.11
#FCF278 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF278
18.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF278 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF278 | 1.00 | 1.16 | 18.11 | 18.11 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFF17E
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fcf278; /* rgb */ color: rgb(252, 242, 120); /* oklch */ color: oklch(94.5% 0.144 104.5);
Tailwind
colors: {
custom: {
50: '#fff6a2',
500: '#fcf278',
950: '#000000',
},
}SCSS
$custom: #fcf278; $custom-light: #fff6a2; $custom-dark: #000000;
JSON
{
"hex": "#fcf278",
"rgb": {
"r": 252,
"g": 242,
"b": 120
},
"hsl": {
"h": 55.455,
"s": 95.652,
"l": 72.941
},
"oklch": {
"l": 0.94517,
"c": 0.14367,
"h": 104.5
},
"luminance": 0.85556
}Semantic roles & 50–950 ramp
primary
#FCF278
secondary
#3F4BD9
accent
#11E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580