#F2D064#F2D064
#F2D064 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.6% C 0.132 H 92.0°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D064 |
|---|---|
| RGB | rgb(242, 208, 100) |
| HSL | hsl(46, 85%, 67%) |
| HSV | hsv(46, 59%, 95%) |
| CMYK | cmyk(0%, 14%, 58.7%, 5.1%) |
| CIE-LAB | lab(84.44, -0.52, 56.99) |
| CIE-LCH | lch(84.44, 56.99, 90.52°) |
| OKLab | oklab(86.58% -0.0046 0.1322) |
| OKLCH | oklch(86.58% 0.132 92) |
| XYZ | xyz(61.4768, 64.9122, 21.3453) |
| Luminance | 0.6491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.58
Maize
#F4D054
ΔE00 1.91
Pale Gold
#FDDE6C
ΔE00 3.28
Wheat (survey)
#FBDD7E
ΔE00 3.54
Light Gold
#FDDC5C
ΔE00 3.57
Sandy
#F1DA7A
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D064 #6486F2
analogous
#F28964 #F2D064 #CDF264
triadic
#F2D064 #64F2D0 #D064F2
tetradic
#F2D064 #64F289 #6486F2 #F264CD
square
#F2D064 #64F289 #6486F2 #F264CD
split-complementary
#F2D064 #64CDF2 #8964F2
monochromatic
#CB9E11 #EDBF2C #F2D064 #F7E19C #FBF2D5
Accessibility & contrast
On white
1.50
#F2D064 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.98
#F2D064 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D064
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D064 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D064 | 1.00 | 1.50 | 13.98 | 13.98 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD59
Deuteranopia (green-blind)
#ECD769
Tritanopia (blue-blind)
#FFC1B8
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f2d064; /* rgb */ color: rgb(242, 208, 100); /* oklch */ color: oklch(86.6% 0.132 92.0);
Tailwind
colors: {
custom: {
50: '#f9de93',
500: '#f2d064',
950: '#000000',
},
}SCSS
$custom: #f2d064; $custom-light: #f9de93; $custom-dark: #000000;
JSON
{
"hex": "#f2d064",
"rgb": {
"r": 242,
"g": 208,
"b": 100
},
"hsl": {
"h": 45.634,
"s": 84.524,
"l": 67.059
},
"oklch": {
"l": 0.86576,
"c": 0.13225,
"h": 92
},
"luminance": 0.64909
}Semantic roles & 50–950 ramp
primary
#F2D064
secondary
#3357C7
accent
#39E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F