#F2F76A#F2F76A
#F2F76A is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.162 H 111.0°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F76A |
|---|---|
| RGB | rgb(242, 247, 106) |
| HSL | hsl(62, 90%, 69%) |
| HSV | hsv(62, 57%, 97%) |
| CMYK | cmyk(2%, 0%, 57.1%, 3.1%) |
| CIE-LAB | lab(94.50, -19.49, 65.65) |
| CIE-LCH | lch(94.50, 68.48, 106.53°) |
| OKLab | oklab(94.59% -0.0582 0.1514) |
| OKLCH | oklch(94.59% 0.162 111) |
| XYZ | xyz(72.4821, 86.4410, 26.4995) |
| Luminance | 0.8644 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.12
Butter Yellow
#FFFD74
ΔE00 2.16
Custard
#FFFD78
ΔE00 2.26
Light Yellow
#FFFE7A
ΔE00 2.28
Canary
#FDFF63
ΔE00 2.40
Faded Yellow
#FEFF7F
ΔE00 2.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F76A #6F6AF7
analogous
#F7B66A #F2F76A #ACF76A
triadic
#F2F76A #6AF2F7 #F76AF2
tetradic
#F2F76A #6AF7B6 #6F6AF7 #F76AAC
square
#F2F76A #6AF7B6 #6F6AF7 #F76AAC
split-complementary
#F2F76A #6AACF7 #B66AF7
monochromatic
#D4DB0C #EDF430 #F2F76A #F7FAA4 #FCFDDE
Accessibility & contrast
On white
1.15
#F2F76A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.29
#F2F76A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F76A
18.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F76A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F76A | 1.00 | 1.15 | 18.29 | 18.29 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED5A
Deuteranopia (green-blind)
#FFF172
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f2f76a; /* rgb */ color: rgb(242, 247, 106); /* oklch */ color: oklch(94.6% 0.162 111.0);
Tailwind
colors: {
custom: {
50: '#f9f999',
500: '#f2f76a',
950: '#000000',
},
}SCSS
$custom: #f2f76a; $custom-light: #f9f999; $custom-dark: #000000;
JSON
{
"hex": "#f2f76a",
"rgb": {
"r": 242,
"g": 247,
"b": 106
},
"hsl": {
"h": 62.128,
"s": 89.809,
"l": 69.216
},
"oklch": {
"l": 0.94585,
"c": 0.16221,
"h": 111
},
"luminance": 0.86439
}Semantic roles & 50–950 ramp
primary
#F2F76A
secondary
#3A34D1
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F