#F2DA51#F2DA51
#F2DA51 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.4% C 0.154 H 99.2°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DA51 |
|---|---|
| RGB | rgb(242, 218, 81) |
| HSL | hsl(51, 86%, 63%) |
| HSV | hsv(51, 67%, 95%) |
| CMYK | cmyk(0%, 9.9%, 66.5%, 5.1%) |
| CIE-LAB | lab(86.81, -6.78, 67.71) |
| CIE-LCH | lch(86.81, 68.05, 95.72°) |
| OKLab | oklab(88.4% -0.0247 0.1523) |
| OKLCH | oklch(88.4% 0.154 99.2) |
| XYZ | xyz(63.1774, 69.6170, 17.8926) |
| Luminance | 0.6961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.77
Sand Yellow
#FCE166
ΔE00 2.45
Light Gold
#FDDC5C
ΔE00 2.71
Yellow Tan
#FFE36E
ΔE00 3.37
Pale Gold
#FDDE6C
ΔE00 3.53
Banana
#FFE135
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DA51 #5169F2
analogous
#F28951 #F2DA51 #B9F251
triadic
#F2DA51 #51F2DA #DA51F2
tetradic
#F2DA51 #51F289 #5169F2 #F251B9
square
#F2DA51 #51F289 #5169F2 #F251B9
split-complementary
#F2DA51 #51B9F2 #8951F2
monochromatic
#BBA10E #EECE18 #F2DA51 #F6E68A #FBF2C3
Accessibility & contrast
On white
1.41
#F2DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.92
#F2DA51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DA51
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DA51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DA51 | 1.00 | 1.41 | 14.92 | 14.92 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED43F
Deuteranopia (green-blind)
#F5DD59
Tritanopia (blue-blind)
#FFCBBE
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2da51; /* rgb */ color: rgb(242, 218, 81); /* oklch */ color: oklch(88.4% 0.154 99.2);
Tailwind
colors: {
custom: {
50: '#fae589',
500: '#f2da51',
950: '#000000',
},
}SCSS
$custom: #f2da51; $custom-light: #fae589; $custom-dark: #000000;
JSON
{
"hex": "#f2da51",
"rgb": {
"r": 242,
"g": 218,
"b": 81
},
"hsl": {
"h": 51.056,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.88399,
"c": 0.15433,
"h": 99.2
},
"luminance": 0.69614
}Semantic roles & 50–950 ramp
primary
#F2DA51
secondary
#2E43B9
accent
#24E303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F