#F2F676#F2F676
#F2F676 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.5% C 0.151 H 110.6°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F676 |
|---|---|
| RGB | rgb(242, 246, 118) |
| HSL | hsl(62, 88%, 71%) |
| HSV | hsv(62, 52%, 96%) |
| CMYK | cmyk(1.6%, 0%, 52%, 3.5%) |
| CIE-LAB | lab(94.35, -18.10, 60.24) |
| CIE-LCH | lch(94.35, 62.90, 106.72°) |
| OKLab | oklab(94.51% -0.053 0.1411) |
| OKLCH | oklch(94.51% 0.151 110.6) |
| XYZ | xyz(72.8454, 86.0984, 29.9173) |
| Luminance | 0.8610 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.74
Faded Yellow
#FEFF7F
ΔE00 2.06
Banana (survey)
#FFFF7E
ΔE00 2.18
Butter
#FFFF81
ΔE00 2.20
Light Yellow
#FFFE7A
ΔE00 2.21
Custard
#FFFD78
ΔE00 2.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F676 #7A76F6
analogous
#F6BA76 #F2F676 #B2F676
triadic
#F2F676 #76F2F6 #F676F2
tetradic
#F2F676 #76F6BA #7A76F6 #F676B2
square
#F2F676 #76F6BA #7A76F6 #F676B2
split-complementary
#F2F676 #76B2F6 #BA76F6
monochromatic
#DCE30F #EDF23D #F2F676 #F7FAAF #FCFDE2
Accessibility & contrast
On white
1.15
#F2F676 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.22
#F2F676 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F676
18.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F676 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F676 | 1.00 | 1.15 | 18.22 | 18.22 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED6A
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f2f676; /* rgb */ color: rgb(242, 246, 118); /* oklch */ color: oklch(94.5% 0.151 110.6);
Tailwind
colors: {
custom: {
50: '#f9f9a1',
500: '#f2f676',
950: '#000000',
},
}SCSS
$custom: #f2f676; $custom-light: #f9f9a1; $custom-dark: #000000;
JSON
{
"hex": "#f2f676",
"rgb": {
"r": 242,
"g": 246,
"b": 118
},
"hsl": {
"h": 61.875,
"s": 87.671,
"l": 71.373
},
"oklch": {
"l": 0.94505,
"c": 0.15076,
"h": 110.6
},
"luminance": 0.86097
}Semantic roles & 50–950 ramp
primary
#F2F676
secondary
#443FD1
accent
#01E408
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580