#F2D766#F2D766
#F2D766 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.136 H 96.0°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D766 |
|---|---|
| RGB | rgb(242, 215, 102) |
| HSL | hsl(48, 84%, 67%) |
| HSV | hsv(48, 58%, 95%) |
| CMYK | cmyk(0%, 11.2%, 57.9%, 5.1%) |
| CIE-LAB | lab(86.23, -3.94, 58.11) |
| CIE-LCH | lch(86.23, 58.24, 93.88°) |
| OKLab | oklab(88% -0.0142 0.1348) |
| OKLCH | oklch(88% 0.136 96) |
| XYZ | xyz(63.3192, 68.4403, 22.4428) |
| Luminance | 0.6844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.90
Pale Gold
#FDDE6C
ΔE00 2.01
Sand Yellow
#FCE166
ΔE00 2.48
Light Gold
#FDDC5C
ΔE00 2.54
Sandy
#F1DA7A
ΔE00 2.56
Yellow Tan
#FFE36E
ΔE00 2.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D766 #6681F2
analogous
#F29166 #F2D766 #C7F266
triadic
#F2D766 #66F2D7 #D766F2
tetradic
#F2D766 #66F291 #6681F2 #F266C7
square
#F2D766 #66F291 #6681F2 #F266C7
split-complementary
#F2D766 #66C7F2 #9166F2
monochromatic
#CCA811 #EDC82E #F2D766 #F7E69E #FCF4D7
Accessibility & contrast
On white
1.43
#F2D766 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.69
#F2D766 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D766
14.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D766 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D766 | 1.00 | 1.43 | 14.69 | 14.69 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD35B
Deuteranopia (green-blind)
#F1DB6B
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d766; /* rgb */ color: rgb(242, 215, 102); /* oklch */ color: oklch(88.0% 0.136 96.0);
Tailwind
colors: {
custom: {
50: '#f9e395',
500: '#f2d766',
950: '#000000',
},
}SCSS
$custom: #f2d766; $custom-light: #f9e395; $custom-dark: #000000;
JSON
{
"hex": "#f2d766",
"rgb": {
"r": 242,
"g": 215,
"b": 102
},
"hsl": {
"h": 48.429,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.87995,
"c": 0.13557,
"h": 96
},
"luminance": 0.68437
}Semantic roles & 50–950 ramp
primary
#F2D766
secondary
#3450C9
accent
#2FE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F