#F2D661#F2D661
#F2D661 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.139 H 95.9°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D661 |
|---|---|
| RGB | rgb(242, 214, 97) |
| HSL | hsl(48, 85%, 66%) |
| HSV | hsv(48, 60%, 95%) |
| CMYK | cmyk(0%, 11.6%, 59.9%, 5.1%) |
| CIE-LAB | lab(85.92, -3.78, 60.01) |
| CIE-LCH | lch(85.92, 60.13, 93.61°) |
| OKLab | oklab(87.74% -0.0143 0.1383) |
| OKLCH | oklch(87.74% 0.139 95.9) |
| XYZ | xyz(62.8248, 67.8364, 21.0915) |
| Luminance | 0.6783 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.62
Pale Gold
#FDDE6C
ΔE00 2.14
Light Gold
#FDDC5C
ΔE00 2.24
Maize
#F4D054
ΔE00 2.47
Sand Yellow
#FCE166
ΔE00 2.52
Yellow Tan
#FFE36E
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D661 #617DF2
analogous
#F28E61 #F2D661 #C6F261
triadic
#F2D661 #61F2D6 #D661F2
tetradic
#F2D661 #61F28E #617DF2 #F261C6
square
#F2D661 #61F28E #617DF2 #F261C6
split-complementary
#F2D661 #61C6F2 #8E61F2
monochromatic
#C8A510 #EDC728 #F2D661 #F7E59A #FBF3D2
Accessibility & contrast
On white
1.44
#F2D661 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.57
#F2D661 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D661
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D661 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D661 | 1.00 | 1.44 | 14.57 | 14.57 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D255
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d661; /* rgb */ color: rgb(242, 214, 97); /* oklch */ color: oklch(87.7% 0.139 95.9);
Tailwind
colors: {
custom: {
50: '#f9e292',
500: '#f2d661',
950: '#000000',
},
}SCSS
$custom: #f2d661; $custom-light: #f9e292; $custom-dark: #000000;
JSON
{
"hex": "#f2d661",
"rgb": {
"r": 242,
"g": 214,
"b": 97
},
"hsl": {
"h": 48.414,
"s": 84.795,
"l": 66.471
},
"oklch": {
"l": 0.87741,
"c": 0.13903,
"h": 95.9
},
"luminance": 0.67833
}Semantic roles & 50–950 ramp
primary
#F2D661
secondary
#324FC5
accent
#2FE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F