#F2F566#F2F566
#F2F566 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.1% C 0.163 H 110.3°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F566 |
|---|---|
| RGB | rgb(242, 245, 102) |
| HSL | hsl(61, 88%, 68%) |
| HSV | hsv(61, 58%, 96%) |
| CMYK | cmyk(1.2%, 0%, 58.4%, 3.9%) |
| CIE-LAB | lab(93.94, -18.80, 66.72) |
| CIE-LCH | lch(93.94, 69.32, 105.74°) |
| OKLab | oklab(94.13% -0.0566 0.1532) |
| OKLCH | oklch(94.13% 0.163 110.3) |
| XYZ | xyz(71.6706, 85.1431, 25.2266) |
| Luminance | 0.8514 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.18
Butter Yellow
#FFFD74
ΔE00 2.21
Custard
#FFFD78
ΔE00 2.36
Canary
#FDFF63
ΔE00 2.40
Light Yellow
#FFFE7A
ΔE00 2.48
Straw
#FCF679
ΔE00 2.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F566 #6966F5
analogous
#F5B166 #F2F566 #AAF566
triadic
#F2F566 #66F2F5 #F566F2
tetradic
#F2F566 #66F5B1 #6966F5 #F566AA
square
#F2F566 #66F5B1 #6966F5 #F566AA
split-complementary
#F2F566 #66AAF5 #B166F5
monochromatic
#CFD30E #EDF12D #F2F566 #F7F99F #FCFDD9
Accessibility & contrast
On white
1.16
#F2F566 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.03
#F2F566 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F566
18.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F566 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F566 | 1.00 | 1.16 | 18.03 | 18.03 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f566; /* rgb */ color: rgb(242, 245, 102); /* oklch */ color: oklch(94.1% 0.163 110.3);
Tailwind
colors: {
custom: {
50: '#f9f897',
500: '#f2f566',
950: '#000000',
},
}SCSS
$custom: #f2f566; $custom-light: #f9f897; $custom-dark: #000000;
JSON
{
"hex": "#f2f566",
"rgb": {
"r": 242,
"g": 245,
"b": 102
},
"hsl": {
"h": 61.259,
"s": 87.73,
"l": 68.039
},
"oklch": {
"l": 0.9413,
"c": 0.16334,
"h": 110.3
},
"luminance": 0.85141
}Semantic roles & 50–950 ramp
primary
#F2F566
secondary
#3531CE
accent
#01E406
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F