#F7D262#F7D262
#F7D262 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.4% C 0.136 H 91.1°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #F7D262 |
|---|---|
| RGB | rgb(247, 210, 98) |
| HSL | hsl(45, 90%, 68%) |
| HSV | hsv(45, 60%, 97%) |
| CMYK | cmyk(0%, 15%, 60.3%, 3.1%) |
| CIE-LAB | lab(85.38, 0.38, 59.08) |
| CIE-LCH | lch(85.38, 59.08, 89.63°) |
| OKLab | oklab(87.42% -0.0025 0.1363) |
| OKLCH | oklch(87.42% 0.136 91.1) |
| XYZ | xyz(63.6119, 66.7526, 21.0868) |
| Luminance | 0.6675 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.25
Maize
#F4D054
ΔE00 1.61
Pale Gold
#FDDE6C
ΔE00 3.02
Light Gold
#FDDC5C
ΔE00 3.11
Wheat (survey)
#FBDD7E
ΔE00 3.63
Yellow Tan
#FFE36E
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7D262 #6287F7
analogous
#F78862 #F7D262 #D1F762
triadic
#F7D262 #62F7D2 #D262F7
tetradic
#F7D262 #62F788 #6287F7 #F762D1
square
#F7D262 #62F788 #6287F7 #F762D1
split-complementary
#F7D262 #62D1F7 #8862F7
monochromatic
#D4A20B #F4C128 #F7D262 #FAE39C #FDF3D6
Accessibility & contrast
On white
1.46
#F7D262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.35
#F7D262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7D262
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7D262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7D262 | 1.00 | 1.46 | 14.35 | 14.35 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f7d262; /* rgb */ color: rgb(247, 210, 98); /* oklch */ color: oklch(87.4% 0.136 91.1);
Tailwind
colors: {
custom: {
50: '#fddf92',
500: '#f7d262',
950: '#000000',
},
}SCSS
$custom: #f7d262; $custom-light: #fddf92; $custom-dark: #000000;
JSON
{
"hex": "#f7d262",
"rgb": {
"r": 247,
"g": 210,
"b": 98
},
"hsl": {
"h": 45.101,
"s": 90.303,
"l": 67.647
},
"oklch": {
"l": 0.87419,
"c": 0.13632,
"h": 91.1
},
"luminance": 0.66749
}Semantic roles & 50–950 ramp
primary
#F7D262
secondary
#2F56CF
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F