#F2D168#F2D168
#F2D168 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.129 H 92.1°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D168 |
|---|---|
| RGB | rgb(242, 209, 104) |
| HSL | hsl(46, 84%, 68%) |
| HSV | hsv(46, 57%, 95%) |
| CMYK | cmyk(0%, 13.6%, 57%, 5.1%) |
| CIE-LAB | lab(84.73, -0.74, 55.48) |
| CIE-LCH | lch(84.73, 55.49, 90.76°) |
| OKLab | oklab(86.82% -0.0047 0.1294) |
| OKLCH | oklch(86.82% 0.129 92.1) |
| XYZ | xyz(61.9197, 65.4807, 22.4716) |
| Luminance | 0.6548 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.75
Maize
#F4D054
ΔE00 2.34
Wheat (survey)
#FBDD7E
ΔE00 3.12
Pale Gold
#FDDE6C
ΔE00 3.14
Sandy
#F1DA7A
ΔE00 3.40
Light Gold
#FDDC5C
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D168 #6889F2
analogous
#F28C68 #F2D168 #CEF268
triadic
#F2D168 #68F2D1 #D168F2
tetradic
#F2D168 #68F28C #6889F2 #F268CE
square
#F2D168 #68F28C #6889F2 #F268CE
split-complementary
#F2D168 #68CEF2 #8C68F2
monochromatic
#CEA112 #EDC030 #F2D168 #F7E2A0 #FCF3D9
Accessibility & contrast
On white
1.49
#F2D168 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.10
#F2D168 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D168
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D168 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D168 | 1.00 | 1.49 | 14.10 | 14.10 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CE5E
Deuteranopia (green-blind)
#EDD86C
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f2d168; /* rgb */ color: rgb(242, 209, 104); /* oklch */ color: oklch(86.8% 0.129 92.1);
Tailwind
colors: {
custom: {
50: '#f9de96',
500: '#f2d168',
950: '#000000',
},
}SCSS
$custom: #f2d168; $custom-light: #f9de96; $custom-dark: #000000;
JSON
{
"hex": "#f2d168",
"rgb": {
"r": 242,
"g": 209,
"b": 104
},
"hsl": {
"h": 45.652,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.8682,
"c": 0.12948,
"h": 92.1
},
"luminance": 0.65478
}Semantic roles & 50–950 ramp
primary
#F2D168
secondary
#3458CA
accent
#39E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F