#F7F260#F7F260
#F7F260 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.9% C 0.164 H 107.3°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).
Color values
| HEX | #F7F260 |
|---|---|
| RGB | rgb(247, 242, 96) |
| HSL | hsl(58, 90%, 67%) |
| HSV | hsv(58, 61%, 97%) |
| CMYK | cmyk(0%, 2%, 61.1%, 3.1%) |
| CIE-LAB | lab(93.50, -15.74, 68.84) |
| CIE-LCH | lch(93.50, 70.61, 102.88°) |
| OKLab | oklab(93.86% -0.0489 0.1568) |
| OKLCH | oklch(93.86% 0.164 107.3) |
| XYZ | xyz(72.2236, 84.1252, 23.4974) |
| Luminance | 0.8412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.91
Straw
#FCF679
ΔE00 2.47
Butter Yellow
#FFFD74
ΔE00 2.57
Pastel Yellow
#FFFE71
ΔE00 2.63
Custard
#FFFD78
ΔE00 2.80
Off Yellow
#F1F33F
ΔE00 2.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7F260 #6065F7
analogous
#F7A660 #F7F260 #B1F760
triadic
#F7F260 #60F7F2 #F260F7
tetradic
#F7F260 #60F7A6 #6065F7 #F760B1
square
#F7F260 #60F7A6 #6065F7 #F760B1
split-complementary
#F7F260 #60B1F7 #A660F7
monochromatic
#D2CB0B #F4ED26 #F7F260 #FAF79A #FDFCD5
Accessibility & contrast
On white
1.18
#F7F260 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.82
#F7F260 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7F260
17.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7F260 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7F260 | 1.00 | 1.18 | 17.82 | 17.82 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE94E
Deuteranopia (green-blind)
#FFEF69
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f7f260; /* rgb */ color: rgb(247, 242, 96); /* oklch */ color: oklch(93.9% 0.164 107.3);
Tailwind
colors: {
custom: {
50: '#fdf693',
500: '#f7f260',
950: '#000000',
},
}SCSS
$custom: #f7f260; $custom-light: #fdf693; $custom-dark: #000000;
JSON
{
"hex": "#f7f260",
"rgb": {
"r": 247,
"g": 242,
"b": 96
},
"hsl": {
"h": 58.013,
"s": 90.419,
"l": 67.255
},
"oklch": {
"l": 0.93858,
"c": 0.16424,
"h": 107.3
},
"luminance": 0.84123
}Semantic roles & 50–950 ramp
primary
#F7F260
secondary
#2E33CD
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F