#F2CC56#F2CC56
#F2CC56 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.6% C 0.141 H 91.2°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CC56 |
|---|---|
| RGB | rgb(242, 204, 86) |
| HSL | hsl(45, 86%, 64%) |
| HSV | hsv(45, 64%, 95%) |
| CMYK | cmyk(0%, 15.7%, 64.5%, 5.1%) |
| CIE-LAB | lab(83.30, 0.63, 61.94) |
| CIE-LCH | lch(83.30, 61.95, 89.42°) |
| OKLab | oklab(85.64% -0.0029 0.1409) |
| OKLCH | oklch(85.64% 0.141 91.2) |
| XYZ | xyz(59.8935, 62.7382, 17.7573) |
| Luminance | 0.6273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.28
Light Mustard
#F7D560
ΔE00 2.24
Light Gold
#FDDC5C
ΔE00 3.96
Pale Gold
#FDDE6C
ΔE00 4.34
Wheat (survey)
#FBDD7E
ΔE00 5.11
Sand Yellow
#FCE166
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CC56 #567CF2
analogous
#F27E56 #F2CC56 #CAF256
triadic
#F2CC56 #56F2CC #CC56F2
tetradic
#F2CC56 #56F27E #567CF2 #F256CA
square
#F2CC56 #56F27E #567CF2 #F256CA
split-complementary
#F2CC56 #56CAF2 #7E56F2
monochromatic
#BF940F #EEBB1D #F2CC56 #F6DD8F #FBEEC8
Accessibility & contrast
On white
1.55
#F2CC56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.55
#F2CC56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CC56
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CC56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CC56 | 1.00 | 1.55 | 13.55 | 13.55 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1C948
Deuteranopia (green-blind)
#EAD45B
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #f2cc56; /* rgb */ color: rgb(242, 204, 86); /* oklch */ color: oklch(85.6% 0.141 91.2);
Tailwind
colors: {
custom: {
50: '#fadb8a',
500: '#f2cc56',
950: '#000000',
},
}SCSS
$custom: #f2cc56; $custom-light: #fadb8a; $custom-dark: #000000;
JSON
{
"hex": "#f2cc56",
"rgb": {
"r": 242,
"g": 204,
"b": 86
},
"hsl": {
"h": 45.385,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.8564,
"c": 0.14092,
"h": 91.2
},
"luminance": 0.62735
}Semantic roles & 50–950 ramp
primary
#F2CC56
secondary
#2F52BD
accent
#3AE203
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F