#F2D466#F2D466
#F2D466 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.4% C 0.133 H 94.2°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D466 |
|---|---|
| RGB | rgb(242, 212, 102) |
| HSL | hsl(47, 84%, 67%) |
| HSV | hsv(47, 58%, 95%) |
| CMYK | cmyk(0%, 12.4%, 57.9%, 5.1%) |
| CIE-LAB | lab(85.47, -2.42, 57.25) |
| CIE-LCH | lch(85.47, 57.30, 92.42°) |
| OKLab | oklab(87.4% -0.0098 0.133) |
| OKLCH | oklch(87.4% 0.133 94.2) |
| XYZ | xyz(62.5623, 66.9265, 22.1905) |
| Luminance | 0.6692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.32
Maize
#F4D054
ΔE00 2.28
Pale Gold
#FDDE6C
ΔE00 2.33
Light Gold
#FDDC5C
ΔE00 2.82
Sandy
#F1DA7A
ΔE00 2.85
Wheat (survey)
#FBDD7E
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D466 #6684F2
analogous
#F28E66 #F2D466 #CAF266
triadic
#F2D466 #66F2D4 #D466F2
tetradic
#F2D466 #66F28E #6684F2 #F266CA
square
#F2D466 #66F28E #6684F2 #F266CA
split-complementary
#F2D466 #66CAF2 #8E66F2
monochromatic
#CCA411 #EDC42E #F2D466 #F7E49E #FCF4D7
Accessibility & contrast
On white
1.46
#F2D466 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.38
#F2D466 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D466
14.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D466 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D466 | 1.00 | 1.46 | 14.38 | 14.38 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#EFDA6B
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d466; /* rgb */ color: rgb(242, 212, 102); /* oklch */ color: oklch(87.4% 0.133 94.2);
Tailwind
colors: {
custom: {
50: '#f9e095',
500: '#f2d466',
950: '#000000',
},
}SCSS
$custom: #f2d466; $custom-light: #f9e095; $custom-dark: #000000;
JSON
{
"hex": "#f2d466",
"rgb": {
"r": 242,
"g": 212,
"b": 102
},
"hsl": {
"h": 47.143,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.87395,
"c": 0.13333,
"h": 94.2
},
"luminance": 0.66924
}Semantic roles & 50–950 ramp
primary
#F2D466
secondary
#3454C9
accent
#34E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F