#F2D752#F2D752
#F2D752 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.8% C 0.151 H 97.7°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D752 |
|---|---|
| RGB | rgb(242, 215, 82) |
| HSL | hsl(50, 86%, 64%) |
| HSV | hsv(50, 66%, 95%) |
| CMYK | cmyk(0%, 11.2%, 66.1%, 5.1%) |
| CIE-LAB | lab(86.05, -5.21, 66.52) |
| CIE-LCH | lch(86.05, 66.73, 94.48°) |
| OKLab | oklab(87.8% -0.0201 0.15) |
| OKLCH | oklch(87.8% 0.151 97.7) |
| XYZ | xyz(62.4442, 68.0903, 17.8346) |
| Luminance | 0.6809 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 2.18
Dull Yellow
#EEDC5B
ΔE00 2.52
Sand Yellow
#FCE166
ΔE00 2.55
Light Mustard
#F7D560
ΔE00 2.73
Maize
#F4D054
ΔE00 2.97
Pale Gold
#FDDE6C
ΔE00 3.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D752 #526DF2
analogous
#F28752 #F2D752 #BDF252
triadic
#F2D752 #52F2D7 #D752F2
tetradic
#F2D752 #52F287 #526DF2 #F252BD
square
#F2D752 #52F287 #526DF2 #F252BD
split-complementary
#F2D752 #52BDF2 #8752F2
monochromatic
#BC9E0E #EECA19 #F2D752 #F6E48B #FBF1C4
Accessibility & contrast
On white
1.44
#F2D752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.62
#F2D752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D752
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D752 | 1.00 | 1.44 | 14.62 | 14.62 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD241
Deuteranopia (green-blind)
#F2DB59
Tritanopia (blue-blind)
#FFC8BB
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d752; /* rgb */ color: rgb(242, 215, 82); /* oklch */ color: oklch(87.8% 0.151 97.7);
Tailwind
colors: {
custom: {
50: '#fae389',
500: '#f2d752',
950: '#000000',
},
}SCSS
$custom: #f2d752; $custom-light: #fae389; $custom-dark: #000000;
JSON
{
"hex": "#f2d752",
"rgb": {
"r": 242,
"g": 215,
"b": 82
},
"hsl": {
"h": 49.875,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.87801,
"c": 0.15133,
"h": 97.7
},
"luminance": 0.68087
}Semantic roles & 50–950 ramp
primary
#F2D752
secondary
#2E46BA
accent
#29E303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F