#F2CC4F#F2CC4F
#F2CC4F is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.6% C 0.146 H 91.9°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CC4F |
|---|---|
| RGB | rgb(242, 204, 79) |
| HSL | hsl(46, 86%, 63%) |
| HSV | hsv(46, 67%, 95%) |
| CMYK | cmyk(0%, 15.7%, 67.4%, 5.1%) |
| CIE-LAB | lab(83.25, 0.23, 64.83) |
| CIE-LCH | lch(83.25, 64.83, 89.80°) |
| OKLab | oklab(85.58% -0.0049 0.1459) |
| OKLCH | oklch(85.58% 0.146 91.9) |
| XYZ | xyz(59.6252, 62.6309, 16.3440) |
| Luminance | 0.6263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.02
Light Mustard
#F7D560
ΔE00 2.37
Light Gold
#FDDC5C
ΔE00 3.78
Pale Gold
#FDDE6C
ΔE00 4.47
Golden Yellow
#FEC615
ΔE00 5.23
Sand Yellow
#FCE166
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CC4F #4F75F2
analogous
#F27A4F #F2CC4F #C7F24F
triadic
#F2CC4F #4FF2CC #CC4FF2
tetradic
#F2CC4F #4FF27A #4F75F2 #F24FC7
square
#F2CC4F #4FF27A #4F75F2 #F24FC7
split-complementary
#F2CC4F #4FC7F2 #7A4FF2
monochromatic
#B9910E #EEBB16 #F2CC4F #F6DD88 #FAEDC1
Accessibility & contrast
On white
1.55
#F2CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.53
#F2CC4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CC4F
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CC4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CC4F | 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)
#E1C93F
Deuteranopia (green-blind)
#EBD455
Tritanopia (blue-blind)
#FFBCB2
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #f2cc4f; /* rgb */ color: rgb(242, 204, 79); /* oklch */ color: oklch(85.6% 0.146 91.9);
Tailwind
colors: {
custom: {
50: '#fadb86',
500: '#f2cc4f',
950: '#000000',
},
}SCSS
$custom: #f2cc4f; $custom-light: #fadb86; $custom-dark: #000000;
JSON
{
"hex": "#f2cc4f",
"rgb": {
"r": 242,
"g": 204,
"b": 79
},
"hsl": {
"h": 46.012,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.85577,
"c": 0.14599,
"h": 91.9
},
"luminance": 0.62627
}Semantic roles & 50–950 ramp
primary
#F2CC4F
secondary
#2D4EB8
accent
#37E303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F