#F2CC50#F2CC50
#F2CC50 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.6% C 0.145 H 91.8°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CC50 |
|---|---|
| RGB | rgb(242, 204, 80) |
| HSL | hsl(46, 86%, 63%) |
| HSV | hsv(46, 67%, 95%) |
| CMYK | cmyk(0%, 15.7%, 66.9%, 5.1%) |
| CIE-LAB | lab(83.26, 0.29, 64.42) |
| CIE-LCH | lch(83.26, 64.42, 89.75°) |
| OKLab | oklab(85.59% -0.0046 0.1452) |
| OKLCH | oklch(85.59% 0.145 91.8) |
| XYZ | xyz(59.6618, 62.6455, 16.5372) |
| Luminance | 0.6264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.03
Light Mustard
#F7D560
ΔE00 2.34
Light Gold
#FDDC5C
ΔE00 3.80
Pale Gold
#FDDE6C
ΔE00 4.44
Golden Yellow
#FEC615
ΔE00 5.28
Sand Yellow
#FCE166
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CC50 #5076F2
analogous
#F27B50 #F2CC50 #C7F250
triadic
#F2CC50 #50F2CC #CC50F2
tetradic
#F2CC50 #50F27B #5076F2 #F250C7
square
#F2CC50 #50F27B #5076F2 #F250C7
split-complementary
#F2CC50 #50C7F2 #7B50F2
monochromatic
#BA910E #EEBB17 #F2CC50 #F6DD89 #FAEDC2
Accessibility & contrast
On white
1.55
#F2CC50 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.53
#F2CC50 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CC50
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CC50 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CC50 | 1.00 | 1.55 | 13.53 | 13.53 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1C940
Deuteranopia (green-blind)
#EBD456
Tritanopia (blue-blind)
#FFBCB2
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #f2cc50; /* rgb */ color: rgb(242, 204, 80); /* oklch */ color: oklch(85.6% 0.145 91.8);
Tailwind
colors: {
custom: {
50: '#fadb87',
500: '#f2cc50',
950: '#000000',
},
}SCSS
$custom: #f2cc50; $custom-light: #fadb87; $custom-dark: #000000;
JSON
{
"hex": "#f2cc50",
"rgb": {
"r": 242,
"g": 204,
"b": 80
},
"hsl": {
"h": 45.926,
"s": 86.17,
"l": 63.137
},
"oklch": {
"l": 0.85585,
"c": 0.14528,
"h": 91.8
},
"luminance": 0.62642
}Semantic roles & 50–950 ramp
primary
#F2CC50
secondary
#2E4EB9
accent
#37E303
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F