#F2F76C#F2F76C
#F2F76C is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.6% C 0.161 H 111.0°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F76C |
|---|---|
| RGB | rgb(242, 247, 108) |
| HSL | hsl(62, 90%, 70%) |
| HSV | hsv(62, 56%, 97%) |
| CMYK | cmyk(2%, 0%, 56.3%, 3.1%) |
| CIE-LAB | lab(94.52, -19.34, 64.82) |
| CIE-LCH | lch(94.52, 67.64, 106.62°) |
| OKLab | oklab(94.6% -0.0576 0.1499) |
| OKLCH | oklch(94.6% 0.161 111) |
| XYZ | xyz(72.5873, 86.4831, 27.0536) |
| Luminance | 0.8648 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.15
Butter Yellow
#FFFD74
ΔE00 2.15
Custard
#FFFD78
ΔE00 2.21
Light Yellow
#FFFE7A
ΔE00 2.22
Faded Yellow
#FEFF7F
ΔE00 2.33
Banana (survey)
#FFFF7E
ΔE00 2.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F76C #716CF7
analogous
#F7B66C #F2F76C #ADF76C
triadic
#F2F76C #6CF2F7 #F76CF2
tetradic
#F2F76C #6CF7B6 #716CF7 #F76CAD
square
#F2F76C #6CF7B6 #716CF7 #F76CAD
split-complementary
#F2F76C #6CADF7 #B66CF7
monochromatic
#D5DD0C #EDF432 #F2F76C #F7FAA6 #FCFDE0
Accessibility & contrast
On white
1.15
#F2F76C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.30
#F2F76C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F76C
18.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F76C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F76C | 1.00 | 1.15 | 18.30 | 18.30 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f2f76c; /* rgb */ color: rgb(242, 247, 108); /* oklch */ color: oklch(94.6% 0.161 111.0);
Tailwind
colors: {
custom: {
50: '#f9f99b',
500: '#f2f76c',
950: '#000000',
},
}SCSS
$custom: #f2f76c; $custom-light: #f9f99b; $custom-dark: #000000;
JSON
{
"hex": "#f2f76c",
"rgb": {
"r": 242,
"g": 247,
"b": 108
},
"hsl": {
"h": 62.158,
"s": 89.677,
"l": 69.608
},
"oklch": {
"l": 0.94605,
"c": 0.16054,
"h": 111
},
"luminance": 0.86481
}Semantic roles & 50–950 ramp
primary
#F2F76C
secondary
#3C36D1
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F