#F2D968#F2D968
#F2D968 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.4% C 0.135 H 97.0°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D968 |
|---|---|
| RGB | rgb(242, 217, 104) |
| HSL | hsl(49, 84%, 68%) |
| HSV | hsv(49, 57%, 95%) |
| CMYK | cmyk(0%, 10.3%, 57%, 5.1%) |
| CIE-LAB | lab(86.75, -4.81, 57.81) |
| CIE-LCH | lch(86.75, 58.01, 94.76°) |
| OKLab | oklab(88.42% -0.0165 0.1344) |
| OKLCH | oklch(88.42% 0.135 97) |
| XYZ | xyz(63.9320, 69.5052, 23.1423) |
| Luminance | 0.6950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 2.08
Sand Yellow
#FCE166
ΔE00 2.19
Sandy
#F1DA7A
ΔE00 2.36
Yellow Tan
#FFE36E
ΔE00 2.46
Light Mustard
#F7D560
ΔE00 2.50
Dull Yellow
#EEDC5B
ΔE00 2.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D968 #6881F2
analogous
#F29468 #F2D968 #C6F268
triadic
#F2D968 #68F2D9 #D968F2
tetradic
#F2D968 #68F294 #6881F2 #F268C6
square
#F2D968 #68F294 #6881F2 #F268C6
split-complementary
#F2D968 #68C6F2 #9468F2
monochromatic
#CEAC12 #EDCB30 #F2D968 #F7E7A0 #FCF5D9
Accessibility & contrast
On white
1.41
#F2D968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.90
#F2D968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D968
14.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D968 | 1.00 | 1.41 | 14.90 | 14.90 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD45D
Deuteranopia (green-blind)
#F2DD6D
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d968; /* rgb */ color: rgb(242, 217, 104); /* oklch */ color: oklch(88.4% 0.135 97.0);
Tailwind
colors: {
custom: {
50: '#f9e496',
500: '#f2d968',
950: '#000000',
},
}SCSS
$custom: #f2d968; $custom-light: #f9e496; $custom-dark: #000000;
JSON
{
"hex": "#f2d968",
"rgb": {
"r": 242,
"g": 217,
"b": 104
},
"hsl": {
"h": 49.13,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.88419,
"c": 0.13541,
"h": 97
},
"luminance": 0.69502
}Semantic roles & 50–950 ramp
primary
#F2D968
secondary
#344FCA
accent
#2DE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F