#F2D551#F2D551
#F2D551 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.4% C 0.151 H 96.7°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D551 |
|---|---|
| RGB | rgb(242, 213, 81) |
| HSL | hsl(49, 86%, 63%) |
| HSV | hsv(49, 67%, 95%) |
| CMYK | cmyk(0%, 12%, 66.5%, 5.1%) |
| CIE-LAB | lab(85.54, -4.25, 66.39) |
| CIE-LCH | lch(85.54, 66.53, 93.67°) |
| OKLab | oklab(87.39% -0.0175 0.1495) |
| OKLCH | oklch(87.39% 0.151 96.7) |
| XYZ | xyz(61.9003, 67.0629, 17.4669) |
| Luminance | 0.6706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 2.10
Light Mustard
#F7D560
ΔE00 2.28
Maize
#F4D054
ΔE00 2.33
Sand Yellow
#FCE166
ΔE00 2.89
Pale Gold
#FDDE6C
ΔE00 3.10
Dull Yellow
#EEDC5B
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D551 #516EF2
analogous
#F28551 #F2D551 #BEF251
triadic
#F2D551 #51F2D5 #D551F2
tetradic
#F2D551 #51F285 #516EF2 #F251BE
square
#F2D551 #51F285 #516EF2 #F251BE
split-complementary
#F2D551 #51BEF2 #8551F2
monochromatic
#BB9C0E #EEC718 #F2D551 #F6E38A #FBF0C3
Accessibility & contrast
On white
1.46
#F2D551 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.41
#F2D551 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D551
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D551 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D551 | 1.00 | 1.46 | 14.41 | 14.41 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#F1DA58
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d551; /* rgb */ color: rgb(242, 213, 81); /* oklch */ color: oklch(87.4% 0.151 96.7);
Tailwind
colors: {
custom: {
50: '#fae188',
500: '#f2d551',
950: '#000000',
},
}SCSS
$custom: #f2d551; $custom-light: #fae188; $custom-dark: #000000;
JSON
{
"hex": "#f2d551",
"rgb": {
"r": 242,
"g": 213,
"b": 81
},
"hsl": {
"h": 49.193,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.8739,
"c": 0.15056,
"h": 96.7
},
"luminance": 0.6706
}Semantic roles & 50–950 ramp
primary
#F2D551
secondary
#2E47B9
accent
#2BE303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F