#F2F362#F2F362
#F2F362 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.7% C 0.164 H 109.6°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F362 |
|---|---|
| RGB | rgb(242, 243, 98) |
| HSL | hsl(60, 86%, 67%) |
| HSV | hsv(60, 60%, 95%) |
| CMYK | cmyk(0.4%, 0%, 59.7%, 4.7%) |
| CIE-LAB | lab(93.39, -18.10, 67.78) |
| CIE-LCH | lch(93.39, 70.16, 104.95°) |
| OKLab | oklab(93.68% -0.0551 0.1549) |
| OKLCH | oklch(93.68% 0.164 109.6) |
| XYZ | xyz(70.8752, 83.8622, 24.0064) |
| Luminance | 0.8386 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.42
Butter Yellow
#FFFD74
ΔE00 2.43
Canary
#FDFF63
ΔE00 2.57
Custard
#FFFD78
ΔE00 2.62
Straw
#FCF679
ΔE00 2.70
Light Yellow
#FFFE7A
ΔE00 2.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F362 #6362F3
analogous
#F3AC62 #F2F362 #AAF362
triadic
#F2F362 #62F2F3 #F362F2
tetradic
#F2F362 #62F3AC #6362F3 #F362AA
square
#F2F362 #62F3AC #6362F3 #F362AA
split-complementary
#F2F362 #62AAF3 #AC62F3
monochromatic
#CACB10 #EDEF29 #F2F362 #F7F79B #FBFCD4
Accessibility & contrast
On white
1.18
#F2F362 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.77
#F2F362 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F362
17.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F362 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F362 | 1.00 | 1.18 | 17.77 | 17.77 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE951
Deuteranopia (green-blind)
#FFEE6B
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f2f362; /* rgb */ color: rgb(242, 243, 98); /* oklch */ color: oklch(93.7% 0.164 109.6);
Tailwind
colors: {
custom: {
50: '#f9f694',
500: '#f2f362',
950: '#000000',
},
}SCSS
$custom: #f2f362; $custom-light: #f9f694; $custom-dark: #000000;
JSON
{
"hex": "#f2f362",
"rgb": {
"r": 242,
"g": 243,
"b": 98
},
"hsl": {
"h": 60.414,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.93677,
"c": 0.16444,
"h": 109.6
},
"luminance": 0.8386
}Semantic roles & 50–950 ramp
primary
#F2F362
secondary
#3332C7
accent
#03E205
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F