#F2D963#F2D963
#F2D963 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.4% C 0.140 H 97.4°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D963 |
|---|---|
| RGB | rgb(242, 217, 99) |
| HSL | hsl(50, 85%, 67%) |
| HSV | hsv(50, 59%, 95%) |
| CMYK | cmyk(0%, 10.3%, 59.1%, 5.1%) |
| CIE-LAB | lab(86.70, -5.17, 60.00) |
| CIE-LCH | lch(86.70, 60.22, 94.92°) |
| OKLab | oklab(88.37% -0.0181 0.1385) |
| OKLCH | oklch(88.37% 0.14 97.4) |
| XYZ | xyz(63.6855, 69.4067, 21.8442) |
| Luminance | 0.6940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.97
Pale Gold
#FDDE6C
ΔE00 2.20
Dull Yellow
#EEDC5B
ΔE00 2.28
Light Gold
#FDDC5C
ΔE00 2.45
Yellow Tan
#FFE36E
ΔE00 2.48
Light Mustard
#F7D560
ΔE00 2.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D963 #637CF2
analogous
#F29163 #F2D963 #C4F263
triadic
#F2D963 #63F2D9 #D963F2
tetradic
#F2D963 #63F291 #637CF2 #F263C4
square
#F2D963 #63F291 #637CF2 #F263C4
split-complementary
#F2D963 #63C4F2 #9163F2
monochromatic
#CAA911 #EDCB2B #F2D963 #F7E79B #FBF5D4
Accessibility & contrast
On white
1.41
#F2D963 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.88
#F2D963 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D963
14.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D963 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D963 | 1.00 | 1.41 | 14.88 | 14.88 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD457
Deuteranopia (green-blind)
#F3DD69
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d963; /* rgb */ color: rgb(242, 217, 99); /* oklch */ color: oklch(88.4% 0.140 97.4);
Tailwind
colors: {
custom: {
50: '#f9e493',
500: '#f2d963',
950: '#000000',
},
}SCSS
$custom: #f2d963; $custom-light: #f9e493; $custom-dark: #000000;
JSON
{
"hex": "#f2d963",
"rgb": {
"r": 242,
"g": 217,
"b": 99
},
"hsl": {
"h": 49.51,
"s": 84.615,
"l": 66.863
},
"oklch": {
"l": 0.88365,
"c": 0.13968,
"h": 97.4
},
"luminance": 0.69404
}Semantic roles & 50–950 ramp
primary
#F2D963
secondary
#334DC6
accent
#2BE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F