#F6F997#F6F997
#F6F997 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.9% C 0.121 H 110.0°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F6F997 |
|---|---|
| RGB | rgb(246, 249, 151) |
| HSL | hsl(62, 89%, 78%) |
| HSV | hsv(62, 39%, 98%) |
| CMYK | cmyk(1.2%, 0%, 39.4%, 2.4%) |
| CIE-LAB | lab(95.82, -14.94, 46.65) |
| CIE-LCH | lch(95.82, 48.99, 107.76°) |
| OKLab | oklab(95.88% -0.0413 0.1134) |
| OKLCH | oklch(95.88% 0.121 110) |
| XYZ | xyz(77.4686, 89.5800, 42.4819) |
| Luminance | 0.8958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 3.08
Manilla
#FFFA86
ΔE00 3.40
Yellowish Tan
#FCFC81
ΔE00 3.61
Parchment
#FEFCAF
ΔE00 3.70
Pale Yellow
#FFFF84
ΔE00 3.72
Butter
#FFFF81
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6F997 #9A97F9
analogous
#F9CB97 #F6F997 #C5F997
triadic
#F6F997 #97F6F9 #F997F6
tetradic
#F6F997 #97F9CB #9A97F9 #F997C5
square
#F6F997 #97F9CB #9A97F9 #F997C5
split-complementary
#F6F997 #97C5F9 #CB97F9
monochromatic
#ECF223 #F1F65D #F6F997 #FBFCD1 #FCFDE2
Accessibility & contrast
On white
1.11
#F6F997 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.92
#F6F997 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6F997
18.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6F997 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6F997 | 1.00 | 1.11 | 18.92 | 18.92 |
| #FFFFFF | 1.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF18F
Deuteranopia (green-blind)
#FFF59B
Tritanopia (blue-blind)
#FFEEE1
Achromatopsia (no color)
#F3F3F3
Design tokens & code
CSS
--color: #f6f997; /* rgb */ color: rgb(246, 249, 151); /* oklch */ color: oklch(95.9% 0.121 110.0);
Tailwind
colors: {
custom: {
50: '#fafbb7',
500: '#f6f997',
950: '#000000',
},
}SCSS
$custom: #f6f997; $custom-light: #fafbb7; $custom-dark: #000000;
JSON
{
"hex": "#f6f997",
"rgb": {
"r": 246,
"g": 249,
"b": 151
},
"hsl": {
"h": 61.837,
"s": 89.091,
"l": 78.431
},
"oklch": {
"l": 0.95875,
"c": 0.12071,
"h": 110
},
"luminance": 0.89579
}Semantic roles & 50–950 ramp
primary
#F6F997
secondary
#5F5BD9
accent
#00E607
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581