#F7F066#F7F066
#F7F066 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.5% C 0.158 H 106.4°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).
Color values
| HEX | #F7F066 |
|---|---|
| RGB | rgb(247, 240, 102) |
| HSL | hsl(57, 90%, 68%) |
| HSV | hsv(57, 59%, 97%) |
| CMYK | cmyk(0%, 2.8%, 58.7%, 3.1%) |
| CIE-LAB | lab(93.04, -14.37, 65.84) |
| CIE-LCH | lch(93.04, 67.39, 102.32°) |
| OKLab | oklab(93.5% -0.0444 0.1512) |
| OKLCH | oklch(93.5% 0.158 106.4) |
| XYZ | xyz(71.9185, 83.0559, 24.8108) |
| Luminance | 0.8305 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.23
Straw
#FCF679
ΔE00 2.01
Sandy Yellow
#FDEE73
ΔE00 2.46
Butter Yellow
#FFFD74
ΔE00 2.80
Custard
#FFFD78
ΔE00 2.91
Pastel Yellow
#FFFE71
ΔE00 3.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7F066 #666DF7
analogous
#F7A766 #F7F066 #B6F766
triadic
#F7F066 #66F7F0 #F066F7
tetradic
#F7F066 #66F7A7 #666DF7 #F766B6
square
#F7F066 #66F7A7 #666DF7 #F766B6
split-complementary
#F7F066 #66B6F7 #A766F7
monochromatic
#D7CD0B #F4EA2C #F7F066 #FAF6A0 #FDFBDA
Accessibility & contrast
On white
1.19
#F7F066 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.61
#F7F066 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7F066
17.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7F066 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7F066 | 1.00 | 1.19 | 17.61 | 17.61 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE857
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f7f066; /* rgb */ color: rgb(247, 240, 102); /* oklch */ color: oklch(93.5% 0.158 106.4);
Tailwind
colors: {
custom: {
50: '#fdf497',
500: '#f7f066',
950: '#000000',
},
}SCSS
$custom: #f7f066; $custom-light: #fdf497; $custom-dark: #000000;
JSON
{
"hex": "#f7f066",
"rgb": {
"r": 247,
"g": 240,
"b": 102
},
"hsl": {
"h": 57.103,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.93503,
"c": 0.1576,
"h": 106.4
},
"luminance": 0.83054
}Semantic roles & 50–950 ramp
primary
#F7F066
secondary
#3139D0
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F