#F2F563#F2F563
#F2F563 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.1% C 0.166 H 110.3°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F563 |
|---|---|
| RGB | rgb(242, 245, 99) |
| HSL | hsl(61, 88%, 67%) |
| HSV | hsv(61, 60%, 96%) |
| CMYK | cmyk(1.2%, 0%, 59.6%, 3.9%) |
| CIE-LAB | lab(93.92, -19.00, 67.94) |
| CIE-LCH | lch(93.92, 70.55, 105.63°) |
| OKLab | oklab(94.1% -0.0575 0.1554) |
| OKLCH | oklch(94.1% 0.166 110.3) |
| XYZ | xyz(71.5245, 85.0847, 24.4572) |
| Luminance | 0.8508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.23
Canary
#FDFF63
ΔE00 2.26
Butter Yellow
#FFFD74
ΔE00 2.30
Custard
#FFFD78
ΔE00 2.50
Light Yellow
#FFFE7A
ΔE00 2.63
Straw
#FCF679
ΔE00 2.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F563 #6663F5
analogous
#F5AF63 #F2F563 #A9F563
triadic
#F2F563 #63F2F5 #F563F2
tetradic
#F2F563 #63F5AF #6663F5 #F563A9
square
#F2F563 #63F5AF #6663F5 #F563A9
split-complementary
#F2F563 #63A9F5 #AF63F5
monochromatic
#CCD00D #EDF129 #F2F563 #F7F99D #FCFCD6
Accessibility & contrast
On white
1.17
#F2F563 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.02
#F2F563 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F563
18.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F563 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F563 | 1.00 | 1.17 | 18.02 | 18.02 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB52
Deuteranopia (green-blind)
#FFF06C
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f2f563; /* rgb */ color: rgb(242, 245, 99); /* oklch */ color: oklch(94.1% 0.166 110.3);
Tailwind
colors: {
custom: {
50: '#f9f895',
500: '#f2f563',
950: '#000000',
},
}SCSS
$custom: #f2f563; $custom-light: #f9f895; $custom-dark: #000000;
JSON
{
"hex": "#f2f563",
"rgb": {
"r": 242,
"g": 245,
"b": 99
},
"hsl": {
"h": 61.233,
"s": 87.952,
"l": 67.451
},
"oklch": {
"l": 0.94102,
"c": 0.16571,
"h": 110.3
},
"luminance": 0.85083
}Semantic roles & 50–950 ramp
primary
#F2F563
secondary
#3430CC
accent
#01E506
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F