#F2F570#F2F570
#F2F570 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.2% C 0.155 H 110.2°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F570 |
|---|---|
| RGB | rgb(242, 245, 112) |
| HSL | hsl(61, 87%, 70%) |
| HSV | hsv(61, 54%, 96%) |
| CMYK | cmyk(1.2%, 0%, 54.3%, 3.9%) |
| CIE-LAB | lab(94.04, -18.08, 62.54) |
| CIE-LCH | lch(94.04, 65.10, 106.13°) |
| OKLab | oklab(94.23% -0.0536 0.1454) |
| OKLCH | oklch(94.23% 0.155 110.2) |
| XYZ | xyz(72.1968, 85.3536, 27.9978) |
| Luminance | 0.8535 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.07
Custard
#FFFD78
ΔE00 2.15
Light Yellow
#FFFE7A
ΔE00 2.19
Butter Yellow
#FFFD74
ΔE00 2.21
Straw
#FCF679
ΔE00 2.24
Faded Yellow
#FEFF7F
ΔE00 2.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F570 #7370F5
analogous
#F5B570 #F2F570 #B0F570
triadic
#F2F570 #70F2F5 #F570F2
tetradic
#F2F570 #70F5B5 #7370F5 #F570B0
square
#F2F570 #70F5B5 #7370F5 #F570B0
split-complementary
#F2F570 #70B0F5 #B570F5
monochromatic
#D7DB0F #EDF137 #F2F570 #F7F9A9 #FCFDE2
Accessibility & contrast
On white
1.16
#F2F570 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.07
#F2F570 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F570
18.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F570 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F570 | 1.00 | 1.16 | 18.07 | 18.07 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFF077
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f570; /* rgb */ color: rgb(242, 245, 112); /* oklch */ color: oklch(94.2% 0.155 110.2);
Tailwind
colors: {
custom: {
50: '#f9f89d',
500: '#f2f570',
950: '#000000',
},
}SCSS
$custom: #f2f570; $custom-light: #f9f89d; $custom-dark: #000000;
JSON
{
"hex": "#f2f570",
"rgb": {
"r": 242,
"g": 245,
"b": 112
},
"hsl": {
"h": 61.353,
"s": 86.928,
"l": 70
},
"oklch": {
"l": 0.94232,
"c": 0.15499,
"h": 110.2
},
"luminance": 0.85352
}Semantic roles & 50–950 ramp
primary
#F2F570
secondary
#3D3ACF
accent
#02E307
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580