#F2D563#F2D563
#F2D563 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.137 H 95.1°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D563 |
|---|---|
| RGB | rgb(242, 213, 99) |
| HSL | hsl(48, 85%, 67%) |
| HSV | hsv(48, 59%, 95%) |
| CMYK | cmyk(0%, 12%, 59.1%, 5.1%) |
| CIE-LAB | lab(85.69, -3.14, 58.86) |
| CIE-LCH | lch(85.69, 58.94, 93.05°) |
| OKLab | oklab(87.56% -0.0122 0.1361) |
| OKLCH | oklch(87.56% 0.137 95.1) |
| XYZ | xyz(62.6670, 67.3696, 21.5047) |
| Luminance | 0.6737 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.35
Pale Gold
#FDDE6C
ΔE00 2.17
Maize
#F4D054
ΔE00 2.28
Light Gold
#FDDC5C
ΔE00 2.44
Sand Yellow
#FCE166
ΔE00 2.86
Sandy
#F1DA7A
ΔE00 2.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D563 #6380F2
analogous
#F28E63 #F2D563 #C8F263
triadic
#F2D563 #63F2D5 #D563F2
tetradic
#F2D563 #63F28E #6380F2 #F263C8
square
#F2D563 #63F28E #6380F2 #F263C8
split-complementary
#F2D563 #63C8F2 #8E63F2
monochromatic
#CAA411 #EDC62B #F2D563 #F7E49B #FBF3D4
Accessibility & contrast
On white
1.45
#F2D563 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.47
#F2D563 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D563
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D563 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D563 | 1.00 | 1.45 | 14.47 | 14.47 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D157
Deuteranopia (green-blind)
#F0DA68
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d563; /* rgb */ color: rgb(242, 213, 99); /* oklch */ color: oklch(87.6% 0.137 95.1);
Tailwind
colors: {
custom: {
50: '#f9e193',
500: '#f2d563',
950: '#000000',
},
}SCSS
$custom: #f2d563; $custom-light: #f9e193; $custom-dark: #000000;
JSON
{
"hex": "#f2d563",
"rgb": {
"r": 242,
"g": 213,
"b": 99
},
"hsl": {
"h": 47.832,
"s": 84.615,
"l": 66.863
},
"oklch": {
"l": 0.87562,
"c": 0.13661,
"h": 95.1
},
"luminance": 0.67367
}Semantic roles & 50–950 ramp
primary
#F2D563
secondary
#3351C6
accent
#31E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F