#F7F266#F7F266
#F7F266 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.9% C 0.160 H 107.2°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).
Color values
| HEX | #F7F266 |
|---|---|
| RGB | rgb(247, 242, 102) |
| HSL | hsl(58, 90%, 68%) |
| HSV | hsv(58, 59%, 97%) |
| CMYK | cmyk(0%, 2%, 58.7%, 3.1%) |
| CIE-LAB | lab(93.55, -15.35, 66.41) |
| CIE-LCH | lch(93.55, 68.16, 103.02°) |
| OKLab | oklab(93.91% -0.0471 0.1524) |
| OKLCH | oklch(93.91% 0.16 107.2) |
| XYZ | xyz(72.5105, 84.2399, 25.0081) |
| Luminance | 0.8424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.78
Straw
#FCF679
ΔE00 1.93
Butter Yellow
#FFFD74
ΔE00 2.34
Custard
#FFFD78
ΔE00 2.49
Pastel Yellow
#FFFE71
ΔE00 2.50
Light Yellow
#FFFE7A
ΔE00 2.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7F266 #666BF7
analogous
#F7A966 #F7F266 #B3F766
triadic
#F7F266 #66F7F2 #F266F7
tetradic
#F7F266 #66F7A9 #666BF7 #F766B3
square
#F7F266 #66F7A9 #666BF7 #F766B3
split-complementary
#F7F266 #66B3F7 #A966F7
monochromatic
#D7D00B #F4ED2C #F7F266 #FAF7A0 #FDFCDA
Accessibility & contrast
On white
1.18
#F7F266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.85
#F7F266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7F266
17.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7F266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7F266 | 1.00 | 1.18 | 17.85 | 17.85 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FFEF6E
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f7f266; /* rgb */ color: rgb(247, 242, 102); /* oklch */ color: oklch(93.9% 0.160 107.2);
Tailwind
colors: {
custom: {
50: '#fdf697',
500: '#f7f266',
950: '#000000',
},
}SCSS
$custom: #f7f266; $custom-light: #fdf697; $custom-dark: #000000;
JSON
{
"hex": "#f7f266",
"rgb": {
"r": 247,
"g": 242,
"b": 102
},
"hsl": {
"h": 57.931,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.93914,
"c": 0.15955,
"h": 107.2
},
"luminance": 0.84238
}Semantic roles & 50–950 ramp
primary
#F7F266
secondary
#3136D0
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F