#F6D162#F6D162
#F6D162 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.1% C 0.135 H 90.9°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #F6D162 |
|---|---|
| RGB | rgb(246, 209, 98) |
| HSL | hsl(45, 89%, 67%) |
| HSV | hsv(45, 60%, 96%) |
| CMYK | cmyk(0%, 15%, 60.2%, 3.5%) |
| CIE-LAB | lab(85.04, 0.48, 58.67) |
| CIE-LCH | lch(85.04, 58.67, 89.53°) |
| OKLab | oklab(87.13% -0.0022 0.1354) |
| OKLCH | oklch(87.13% 0.135 90.9) |
| XYZ | xyz(63.0140, 66.0790, 20.9883) |
| Luminance | 0.6608 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.45
Maize
#F4D054
ΔE00 1.67
Pale Gold
#FDDE6C
ΔE00 3.24
Light Gold
#FDDC5C
ΔE00 3.35
Wheat (survey)
#FBDD7E
ΔE00 3.72
Sandy
#F1DA7A
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6D162 #6287F6
analogous
#F68762 #F6D162 #D1F662
triadic
#F6D162 #62F6D1 #D162F6
tetradic
#F6D162 #62F687 #6287F6 #F662D1
square
#F6D162 #62F687 #6287F6 #F662D1
split-complementary
#F6D162 #62D1F6 #8762F6
monochromatic
#D2A00C #F3C028 #F6D162 #F9E29C #FDF3D6
Accessibility & contrast
On white
1.48
#F6D162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.22
#F6D162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6D162
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6D162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6D162 | 1.00 | 1.48 | 14.22 | 14.22 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CE57
Deuteranopia (green-blind)
#EFD967
Tritanopia (blue-blind)
#FFC2B9
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f6d162; /* rgb */ color: rgb(246, 209, 98); /* oklch */ color: oklch(87.1% 0.135 90.9);
Tailwind
colors: {
custom: {
50: '#fcde92',
500: '#f6d162',
950: '#000000',
},
}SCSS
$custom: #f6d162; $custom-light: #fcde92; $custom-dark: #000000;
JSON
{
"hex": "#f6d162",
"rgb": {
"r": 246,
"g": 209,
"b": 98
},
"hsl": {
"h": 45,
"s": 89.157,
"l": 67.451
},
"oklch": {
"l": 0.87128,
"c": 0.13547,
"h": 90.9
},
"luminance": 0.66076
}Semantic roles & 50–950 ramp
primary
#F6D162
secondary
#2F57CD
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F