#F2F46F#F2F46F
#F2F46F is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.0% C 0.155 H 109.8°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F46F |
|---|---|
| RGB | rgb(242, 244, 111) |
| HSL | hsl(61, 86%, 70%) |
| HSV | hsv(61, 55%, 96%) |
| CMYK | cmyk(0.8%, 0%, 54.5%, 4.3%) |
| CIE-LAB | lab(93.77, -17.67, 62.67) |
| CIE-LCH | lch(93.77, 65.11, 105.75°) |
| OKLab | oklab(94.01% -0.0525 0.1456) |
| OKLCH | oklch(94.01% 0.155 109.8) |
| XYZ | xyz(71.8397, 84.7281, 27.6057) |
| Luminance | 0.8473 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.11
Yellowish Tan
#FCFC81
ΔE00 2.17
Custard
#FFFD78
ΔE00 2.19
Butter Yellow
#FFFD74
ΔE00 2.24
Light Yellow
#FFFE7A
ΔE00 2.27
Pastel Yellow
#FFFE71
ΔE00 2.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F46F #716FF4
analogous
#F4B36F #F2F46F #B0F46F
triadic
#F2F46F #6FF2F4 #F46FF2
tetradic
#F2F46F #6FF4B3 #716FF4 #F46FB0
square
#F2F46F #6FF4B3 #716FF4 #F46FB0
split-complementary
#F2F46F #6FB0F4 #B36FF4
monochromatic
#D5D811 #EDF036 #F2F46F #F7F8A8 #FCFDE1
Accessibility & contrast
On white
1.17
#F2F46F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.95
#F2F46F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F46F
17.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F46F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F46F | 1.00 | 1.17 | 17.95 | 17.95 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB61
Deuteranopia (green-blind)
#FFEF76
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f2f46f; /* rgb */ color: rgb(242, 244, 111); /* oklch */ color: oklch(94.0% 0.155 109.8);
Tailwind
colors: {
custom: {
50: '#f9f79c',
500: '#f2f46f',
950: '#000000',
},
}SCSS
$custom: #f2f46f; $custom-light: #f9f79c; $custom-dark: #000000;
JSON
{
"hex": "#f2f46f",
"rgb": {
"r": 242,
"g": 244,
"b": 111
},
"hsl": {
"h": 60.902,
"s": 85.806,
"l": 69.608
},
"oklch": {
"l": 0.94014,
"c": 0.1548,
"h": 109.8
},
"luminance": 0.84726
}Semantic roles & 50–950 ramp
primary
#F2F46F
secondary
#3C39CE
accent
#03E207
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F