#F2DC63#F2DC63
#F2DC63 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.142 H 99.1°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC63 |
|---|---|
| RGB | rgb(242, 220, 99) |
| HSL | hsl(51, 85%, 67%) |
| HSV | hsv(51, 59%, 95%) |
| CMYK | cmyk(0%, 9.1%, 59.1%, 5.1%) |
| CIE-LAB | lab(87.47, -6.68, 60.85) |
| CIE-LCH | lch(87.47, 61.22, 96.27°) |
| OKLab | oklab(88.97% -0.0224 0.1403) |
| OKLCH | oklch(88.97% 0.142 99.1) |
| XYZ | xyz(64.4658, 70.9672, 22.1043) |
| Luminance | 0.7096 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.39
Sand Yellow
#FCE166
ΔE00 1.83
Yellow Tan
#FFE36E
ΔE00 2.46
Pale Gold
#FDDE6C
ΔE00 2.74
Light Gold
#FDDC5C
ΔE00 2.95
Sandy
#F1DA7A
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC63 #6379F2
analogous
#F29563 #F2DC63 #C1F263
triadic
#F2DC63 #63F2DC #DC63F2
tetradic
#F2DC63 #63F295 #6379F2 #F263C1
square
#F2DC63 #63F295 #6379F2 #F263C1
split-complementary
#F2DC63 #63C1F2 #9563F2
monochromatic
#CAAD11 #EDCF2B #F2DC63 #F7E99B #FBF5D4
Accessibility & contrast
On white
1.38
#F2DC63 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.19
#F2DC63 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC63
15.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC63 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC63 | 1.00 | 1.38 | 15.19 | 15.19 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD756
Deuteranopia (green-blind)
#F5DF69
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2dc63; /* rgb */ color: rgb(242, 220, 99); /* oklch */ color: oklch(89.0% 0.142 99.1);
Tailwind
colors: {
custom: {
50: '#f9e693',
500: '#f2dc63',
950: '#000000',
},
}SCSS
$custom: #f2dc63; $custom-light: #f9e693; $custom-dark: #000000;
JSON
{
"hex": "#f2dc63",
"rgb": {
"r": 242,
"g": 220,
"b": 99
},
"hsl": {
"h": 50.769,
"s": 84.615,
"l": 66.863
},
"oklch": {
"l": 0.8897,
"c": 0.14211,
"h": 99.1
},
"luminance": 0.70964
}Semantic roles & 50–950 ramp
primary
#F2DC63
secondary
#334AC6
accent
#26E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F