#F2D564#F2D564
#F2D564 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.136 H 95.0°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D564 |
|---|---|
| RGB | rgb(242, 213, 100) |
| HSL | hsl(48, 85%, 67%) |
| HSV | hsv(48, 59%, 95%) |
| CMYK | cmyk(0%, 12%, 58.7%, 5.1%) |
| CIE-LAB | lab(85.70, -3.07, 58.42) |
| CIE-LCH | lch(85.70, 58.50, 93.01°) |
| OKLab | oklab(87.57% -0.0119 0.1352) |
| OKLCH | oklch(87.57% 0.136 95) |
| XYZ | xyz(62.7151, 67.3888, 21.7580) |
| Luminance | 0.6739 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.37
Pale Gold
#FDDE6C
ΔE00 2.16
Maize
#F4D054
ΔE00 2.34
Light Gold
#FDDC5C
ΔE00 2.52
Sandy
#F1DA7A
ΔE00 2.90
Sand Yellow
#FCE166
ΔE00 2.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D564 #6481F2
analogous
#F28E64 #F2D564 #C8F264
triadic
#F2D564 #64F2D5 #D564F2
tetradic
#F2D564 #64F28E #6481F2 #F264C8
square
#F2D564 #64F28E #6481F2 #F264C8
split-complementary
#F2D564 #64C8F2 #8E64F2
monochromatic
#CBA511 #EDC62C #F2D564 #F7E49C #FBF4D5
Accessibility & contrast
On white
1.45
#F2D564 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.48
#F2D564 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D564
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D564 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D564 | 1.00 | 1.45 | 14.48 | 14.48 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D158
Deuteranopia (green-blind)
#F0DA69
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d564; /* rgb */ color: rgb(242, 213, 100); /* oklch */ color: oklch(87.6% 0.136 95.0);
Tailwind
colors: {
custom: {
50: '#f9e194',
500: '#f2d564',
950: '#000000',
},
}SCSS
$custom: #f2d564; $custom-light: #f9e194; $custom-dark: #000000;
JSON
{
"hex": "#f2d564",
"rgb": {
"r": 242,
"g": 213,
"b": 100
},
"hsl": {
"h": 47.746,
"s": 84.524,
"l": 67.059
},
"oklch": {
"l": 0.87573,
"c": 0.13577,
"h": 95
},
"luminance": 0.67386
}Semantic roles & 50–950 ramp
primary
#F2D564
secondary
#3351C7
accent
#32E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F