#F2F262#F2F262
#F2F262 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.5% C 0.163 H 109.2°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F262 |
|---|---|
| RGB | rgb(242, 242, 98) |
| HSL | hsl(60, 85%, 67%) |
| HSV | hsv(60, 60%, 95%) |
| CMYK | cmyk(0%, 0%, 59.5%, 5.1%) |
| CIE-LAB | lab(93.13, -17.62, 67.50) |
| CIE-LCH | lch(93.13, 69.76, 104.63°) |
| OKLab | oklab(93.47% -0.0537 0.1543) |
| OKLCH | oklch(93.47% 0.163 109.2) |
| XYZ | xyz(70.5768, 83.2653, 23.9069) |
| Luminance | 0.8326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 2.52
Pastel Yellow
#FFFE71
ΔE00 2.55
Straw
#FCF679
ΔE00 2.60
Custard
#FFFD78
ΔE00 2.70
Canary
#FDFF63
ΔE00 2.77
Yellowish
#FAEE66
ΔE00 2.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F262 #6262F2
analogous
#F2AA62 #F2F262 #AAF262
triadic
#F2F262 #62F2F2 #F262F2
tetradic
#F2F262 #62F2AA #6262F2 #F262AA
square
#F2F262 #62F2AA #6262F2 #F262AA
split-complementary
#F2F262 #62AAF2 #AA62F2
monochromatic
#C9C911 #EDED29 #F2F262 #F7F79B #FBFBD3
Accessibility & contrast
On white
1.19
#F2F262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.65
#F2F262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F262
17.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F262 | 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)
#FFE951
Deuteranopia (green-blind)
#FFEE6B
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f2f262; /* rgb */ color: rgb(242, 242, 98); /* oklch */ color: oklch(93.5% 0.163 109.2);
Tailwind
colors: {
custom: {
50: '#f9f694',
500: '#f2f262',
950: '#000000',
},
}SCSS
$custom: #f2f262; $custom-light: #f9f694; $custom-dark: #000000;
JSON
{
"hex": "#f2f262",
"rgb": {
"r": 242,
"g": 242,
"b": 98
},
"hsl": {
"h": 60,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.9347,
"c": 0.16342,
"h": 109.2
},
"luminance": 0.83263
}Semantic roles & 50–950 ramp
primary
#F2F262
secondary
#3333C6
accent
#04E104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F