#F2DC68#F2DC68
#F2DC68 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.0% C 0.138 H 98.7°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC68 |
|---|---|
| RGB | rgb(242, 220, 104) |
| HSL | hsl(50, 84%, 68%) |
| HSV | hsv(50, 57%, 95%) |
| CMYK | cmyk(0%, 9.1%, 57%, 5.1%) |
| CIE-LAB | lab(87.52, -6.33, 58.68) |
| CIE-LCH | lch(87.52, 59.02, 96.16°) |
| OKLab | oklab(89.02% -0.0209 0.1363) |
| OKLCH | oklch(89.02% 0.138 98.7) |
| XYZ | xyz(64.7123, 71.0658, 23.4024) |
| Luminance | 0.7106 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.85
Sand Yellow
#FCE166
ΔE00 1.95
Yellow Tan
#FFE36E
ΔE00 2.36
Pale Gold
#FDDE6C
ΔE00 2.57
Sandy
#F1DA7A
ΔE00 2.74
Light Gold
#FDDC5C
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC68 #687EF2
analogous
#F29768 #F2DC68 #C3F268
triadic
#F2DC68 #68F2DC #DC68F2
tetradic
#F2DC68 #68F297 #687EF2 #F268C3
square
#F2DC68 #68F297 #687EF2 #F268C3
split-complementary
#F2DC68 #68C3F2 #9768F2
monochromatic
#CEB012 #EDCF30 #F2DC68 #F7E9A0 #FCF6D9
Accessibility & contrast
On white
1.38
#F2DC68 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.21
#F2DC68 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC68
15.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC68 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC68 | 1.00 | 1.38 | 15.21 | 15.21 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD75C
Deuteranopia (green-blind)
#F5DF6D
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2dc68; /* rgb */ color: rgb(242, 220, 104); /* oklch */ color: oklch(89.0% 0.138 98.7);
Tailwind
colors: {
custom: {
50: '#f9e697',
500: '#f2dc68',
950: '#000000',
},
}SCSS
$custom: #f2dc68; $custom-light: #f9e697; $custom-dark: #000000;
JSON
{
"hex": "#f2dc68",
"rgb": {
"r": 242,
"g": 220,
"b": 104
},
"hsl": {
"h": 50.435,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.89024,
"c": 0.13786,
"h": 98.7
},
"luminance": 0.71063
}Semantic roles & 50–950 ramp
primary
#F2DC68
secondary
#344CCA
accent
#28E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F