#F2D863#F2D863
#F2D863 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.139 H 96.9°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D863 |
|---|---|
| RGB | rgb(242, 216, 99) |
| HSL | hsl(49, 85%, 67%) |
| HSV | hsv(49, 59%, 95%) |
| CMYK | cmyk(0%, 10.7%, 59.1%, 5.1%) |
| CIE-LAB | lab(86.45, -4.66, 59.71) |
| CIE-LCH | lch(86.45, 59.89, 94.46°) |
| OKLab | oklab(88.16% -0.0166 0.1379) |
| OKLCH | oklch(88.16% 0.139 96.9) |
| XYZ | xyz(63.4285, 68.8927, 21.7586) |
| Luminance | 0.6889 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 2.11
Sand Yellow
#FCE166
ΔE00 2.14
Light Mustard
#F7D560
ΔE00 2.20
Light Gold
#FDDC5C
ΔE00 2.37
Yellow Tan
#FFE36E
ΔE00 2.58
Dull Yellow
#EEDC5B
ΔE00 2.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D863 #637DF2
analogous
#F29163 #F2D863 #C5F263
triadic
#F2D863 #63F2D8 #D863F2
tetradic
#F2D863 #63F291 #637DF2 #F263C5
square
#F2D863 #63F291 #637DF2 #F263C5
split-complementary
#F2D863 #63C5F2 #9163F2
monochromatic
#CAA811 #EDCA2B #F2D863 #F7E69B #FBF4D4
Accessibility & contrast
On white
1.42
#F2D863 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.78
#F2D863 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D863
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D863 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D863 | 1.00 | 1.42 | 14.78 | 14.78 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD357
Deuteranopia (green-blind)
#F2DC69
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d863; /* rgb */ color: rgb(242, 216, 99); /* oklch */ color: oklch(88.2% 0.139 96.9);
Tailwind
colors: {
custom: {
50: '#f9e393',
500: '#f2d863',
950: '#000000',
},
}SCSS
$custom: #f2d863; $custom-light: #f9e393; $custom-dark: #000000;
JSON
{
"hex": "#f2d863",
"rgb": {
"r": 242,
"g": 216,
"b": 99
},
"hsl": {
"h": 49.091,
"s": 84.615,
"l": 66.863
},
"oklch": {
"l": 0.88164,
"c": 0.13889,
"h": 96.9
},
"luminance": 0.6889
}Semantic roles & 50–950 ramp
primary
#F2D863
secondary
#334EC6
accent
#2DE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F