#F6DF57#F6DF57
#F6DF57 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.8% C 0.154 H 99.6°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).
Color values
| HEX | #F6DF57 |
|---|---|
| RGB | rgb(246, 223, 87) |
| HSL | hsl(51, 90%, 65%) |
| HSV | hsv(51, 65%, 96%) |
| CMYK | cmyk(0%, 9.3%, 64.6%, 3.5%) |
| CIE-LAB | lab(88.48, -7.30, 67.14) |
| CIE-LCH | lch(88.48, 67.53, 96.21°) |
| OKLab | oklab(89.82% -0.0258 0.1519) |
| OKLCH | oklch(89.82% 0.154 99.6) |
| XYZ | xyz(66.1169, 73.0593, 19.6342) |
| Luminance | 0.7306 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.68
Sand Yellow
#FCE166
ΔE00 1.90
Light Gold
#FDDC5C
ΔE00 2.81
Yellow Tan
#FFE36E
ΔE00 2.81
Pale Gold
#FDDE6C
ΔE00 3.39
Banana
#FFE135
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6DF57 #576EF6
analogous
#F69057 #F6DF57 #BDF657
triadic
#F6DF57 #57F6DF #DF57F6
tetradic
#F6DF57 #57F690 #576EF6 #F657BD
square
#F6DF57 #57F690 #576EF6 #F657BD
split-complementary
#F6DF57 #57BDF6 #9057F6
monochromatic
#C8AD0B #F3D41D #F6DF57 #F9EA91 #FCF5CB
Accessibility & contrast
On white
1.35
#F6DF57 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.61
#F6DF57 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6DF57
15.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6DF57 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6DF57 | 1.00 | 1.35 | 15.61 | 15.61 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3D946
Deuteranopia (green-blind)
#FAE25E
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f6df57; /* rgb */ color: rgb(246, 223, 87); /* oklch */ color: oklch(89.8% 0.154 99.6);
Tailwind
colors: {
custom: {
50: '#fde88c',
500: '#f6df57',
950: '#000000',
},
}SCSS
$custom: #f6df57; $custom-light: #fde88c; $custom-dark: #000000;
JSON
{
"hex": "#f6df57",
"rgb": {
"r": 246,
"g": 223,
"b": 87
},
"hsl": {
"h": 51.321,
"s": 89.831,
"l": 65.294
},
"oklch": {
"l": 0.89818,
"c": 0.15411,
"h": 99.6
},
"luminance": 0.73056
}Semantic roles & 50–950 ramp
primary
#F6DF57
secondary
#2D43C4
accent
#21E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F