#F2D867#F2D867
#F2D867 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.2% C 0.135 H 96.5°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D867 |
|---|---|
| RGB | rgb(242, 216, 103) |
| HSL | hsl(49, 84%, 68%) |
| HSV | hsv(49, 57%, 95%) |
| CMYK | cmyk(0%, 10.7%, 57.4%, 5.1%) |
| CIE-LAB | lab(86.49, -4.38, 57.96) |
| CIE-LCH | lch(86.49, 58.12, 94.32°) |
| OKLab | oklab(88.21% -0.0154 0.1346) |
| OKLCH | oklch(88.21% 0.135 96.5) |
| XYZ | xyz(63.6245, 68.9711, 22.7907) |
| Luminance | 0.6897 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 2.02
Light Mustard
#F7D560
ΔE00 2.20
Sand Yellow
#FCE166
ΔE00 2.31
Sandy
#F1DA7A
ΔE00 2.44
Yellow Tan
#FFE36E
ΔE00 2.58
Light Gold
#FDDC5C
ΔE00 2.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D867 #6781F2
analogous
#F29267 #F2D867 #C6F267
triadic
#F2D867 #67F2D8 #D867F2
tetradic
#F2D867 #67F292 #6781F2 #F267C6
square
#F2D867 #67F292 #6781F2 #F267C6
split-complementary
#F2D867 #67C6F2 #9267F2
monochromatic
#CDAA12 #EDCA2F #F2D867 #F7E69F #FCF5D8
Accessibility & contrast
On white
1.42
#F2D867 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.79
#F2D867 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D867
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D867 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D867 | 1.00 | 1.42 | 14.79 | 14.79 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD45C
Deuteranopia (green-blind)
#F2DC6C
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d867; /* rgb */ color: rgb(242, 216, 103); /* oklch */ color: oklch(88.2% 0.135 96.5);
Tailwind
colors: {
custom: {
50: '#f9e396',
500: '#f2d867',
950: '#000000',
},
}SCSS
$custom: #f2d867; $custom-light: #f9e396; $custom-dark: #000000;
JSON
{
"hex": "#f2d867",
"rgb": {
"r": 242,
"g": 216,
"b": 103
},
"hsl": {
"h": 48.777,
"s": 84.242,
"l": 67.647
},
"oklch": {
"l": 0.88207,
"c": 0.13548,
"h": 96.5
},
"luminance": 0.68968
}Semantic roles & 50–950 ramp
primary
#F2D867
secondary
#3450C9
accent
#2EE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F