#F2F260#F2F260
#F2F260 is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.5% C 0.165 H 109.2°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F260 |
|---|---|
| RGB | rgb(242, 242, 96) |
| HSL | hsl(60, 85%, 66%) |
| HSV | hsv(60, 60%, 95%) |
| CMYK | cmyk(0%, 0%, 60.3%, 5.1%) |
| CIE-LAB | lab(93.11, -17.75, 68.30) |
| CIE-LCH | lch(93.11, 70.57, 104.57°) |
| OKLab | oklab(93.45% -0.0543 0.1558) |
| OKLCH | oklch(93.45% 0.165 109.2) |
| XYZ | xyz(70.4836, 83.2280, 23.4158) |
| Luminance | 0.8323 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 2.59
Pastel Yellow
#FFFE71
ΔE00 2.59
Canary
#FDFF63
ΔE00 2.71
Off Yellow
#F1F33F
ΔE00 2.74
Straw
#FCF679
ΔE00 2.75
Custard
#FFFD78
ΔE00 2.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F260 #6060F2
analogous
#F2A960 #F2F260 #A9F260
triadic
#F2F260 #60F2F2 #F260F2
tetradic
#F2F260 #60F2A9 #6060F2 #F260A9
square
#F2F260 #60F2A9 #6060F2 #F260A9
split-complementary
#F2F260 #60A9F2 #A960F2
monochromatic
#C7C710 #EDED27 #F2F260 #F7F799 #FBFBD1
Accessibility & contrast
On white
1.19
#F2F260 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.65
#F2F260 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F260
17.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F260 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F260 | 1.00 | 1.19 | 17.65 | 17.65 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE94E
Deuteranopia (green-blind)
#FFEE69
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f2f260; /* rgb */ color: rgb(242, 242, 96); /* oklch */ color: oklch(93.5% 0.165 109.2);
Tailwind
colors: {
custom: {
50: '#f9f693',
500: '#f2f260',
950: '#000000',
},
}SCSS
$custom: #f2f260; $custom-light: #f9f693; $custom-dark: #000000;
JSON
{
"hex": "#f2f260",
"rgb": {
"r": 242,
"g": 242,
"b": 96
},
"hsl": {
"h": 60,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.93451,
"c": 0.16496,
"h": 109.2
},
"luminance": 0.83226
}Semantic roles & 50–950 ramp
primary
#F2F260
secondary
#3232C4
accent
#04E104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F