#F6D962#F6D962
#F6D962 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.7% C 0.141 H 95.7°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F6D962 |
|---|---|
| RGB | rgb(246, 217, 98) |
| HSL | hsl(48, 89%, 67%) |
| HSV | hsv(48, 60%, 96%) |
| CMYK | cmyk(0%, 11.8%, 60.2%, 3.5%) |
| CIE-LAB | lab(87.05, -3.60, 60.92) |
| CIE-LCH | lch(87.05, 61.02, 93.38°) |
| OKLab | oklab(88.72% -0.0139 0.1403) |
| OKLCH | oklch(88.72% 0.141 95.7) |
| XYZ | xyz(65.0263, 70.1035, 21.6591) |
| Luminance | 0.7010 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 1.50
Light Gold
#FDDC5C
ΔE00 1.56
Light Mustard
#F7D560
ΔE00 1.58
Sand Yellow
#FCE166
ΔE00 1.85
Yellow Tan
#FFE36E
ΔE00 2.23
Maize
#F4D054
ΔE00 2.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6D962 #627FF6
analogous
#F68F62 #F6D962 #C9F662
triadic
#F6D962 #62F6D9 #D962F6
tetradic
#F6D962 #62F68F #627FF6 #F662C9
square
#F6D962 #62F68F #627FF6 #F662C9
split-complementary
#F6D962 #62C9F6 #8F62F6
monochromatic
#D2AB0C #F3CB28 #F6D962 #F9E79C #FDF5D6
Accessibility & contrast
On white
1.40
#F6D962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.02
#F6D962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6D962
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6D962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6D962 | 1.00 | 1.40 | 15.02 | 15.02 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD555
Deuteranopia (green-blind)
#F4DE68
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f6d962; /* rgb */ color: rgb(246, 217, 98); /* oklch */ color: oklch(88.7% 0.141 95.7);
Tailwind
colors: {
custom: {
50: '#fce493',
500: '#f6d962',
950: '#000000',
},
}SCSS
$custom: #f6d962; $custom-light: #fce493; $custom-dark: #000000;
JSON
{
"hex": "#f6d962",
"rgb": {
"r": 246,
"g": 217,
"b": 98
},
"hsl": {
"h": 48.243,
"s": 89.157,
"l": 67.451
},
"oklch": {
"l": 0.88716,
"c": 0.14095,
"h": 95.7
},
"luminance": 0.701
}Semantic roles & 50–950 ramp
primary
#F6D962
secondary
#2F4ECD
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F