#F2D868#F2D868
#F2D868 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.2% C 0.135 H 96.4°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D868 |
|---|---|
| RGB | rgb(242, 216, 104) |
| HSL | hsl(49, 84%, 68%) |
| HSV | hsv(49, 57%, 95%) |
| CMYK | cmyk(0%, 10.7%, 57%, 5.1%) |
| CIE-LAB | lab(86.50, -4.31, 57.51) |
| CIE-LCH | lch(86.50, 57.68, 94.28°) |
| OKLab | oklab(88.22% -0.015 0.1338) |
| OKLCH | oklch(88.22% 0.135 96.4) |
| XYZ | xyz(63.6750, 68.9913, 23.0567) |
| Luminance | 0.6899 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 2.01
Light Mustard
#F7D560
ΔE00 2.21
Sandy
#F1DA7A
ΔE00 2.32
Sand Yellow
#FCE166
ΔE00 2.37
Yellow Tan
#FFE36E
ΔE00 2.60
Light Gold
#FDDC5C
ΔE00 2.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D868 #6882F2
analogous
#F29368 #F2D868 #C7F268
triadic
#F2D868 #68F2D8 #D868F2
tetradic
#F2D868 #68F293 #6882F2 #F268C7
square
#F2D868 #68F293 #6882F2 #F268C7
split-complementary
#F2D868 #68C7F2 #9368F2
monochromatic
#CEAA12 #EDC930 #F2D868 #F7E7A0 #FCF5D9
Accessibility & contrast
On white
1.42
#F2D868 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.80
#F2D868 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D868
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D868 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D868 | 1.00 | 1.42 | 14.80 | 14.80 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD45D
Deuteranopia (green-blind)
#F2DC6D
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d868; /* rgb */ color: rgb(242, 216, 104); /* oklch */ color: oklch(88.2% 0.135 96.4);
Tailwind
colors: {
custom: {
50: '#f9e396',
500: '#f2d868',
950: '#000000',
},
}SCSS
$custom: #f2d868; $custom-light: #f9e396; $custom-dark: #000000;
JSON
{
"hex": "#f2d868",
"rgb": {
"r": 242,
"g": 216,
"b": 104
},
"hsl": {
"h": 48.696,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.88218,
"c": 0.13461,
"h": 96.4
},
"luminance": 0.68988
}Semantic roles & 50–950 ramp
primary
#F2D868
secondary
#3450CA
accent
#2EE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F