#F0D261#F0D261
#F0D261 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.136 H 94.5°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D261 |
|---|---|
| RGB | rgb(240, 210, 97) |
| HSL | hsl(47, 83%, 66%) |
| HSV | hsv(47, 60%, 94%) |
| CMYK | cmyk(0%, 12.5%, 59.6%, 5.9%) |
| CIE-LAB | lab(84.73, -2.57, 58.63) |
| CIE-LCH | lch(84.73, 58.68, 92.51°) |
| OKLab | oklab(86.76% -0.0107 0.1354) |
| OKLCH | oklch(86.76% 0.136 94.5) |
| XYZ | xyz(61.1421, 65.4845, 20.7262) |
| Luminance | 0.6548 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.38
Maize
#F4D054
ΔE00 1.93
Pale Gold
#FDDE6C
ΔE00 2.77
Light Gold
#FDDC5C
ΔE00 2.92
Sandy
#F1DA7A
ΔE00 3.32
Sand Yellow
#FCE166
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D261 #617FF0
analogous
#F08A61 #F0D261 #C6F061
triadic
#F0D261 #61F0D2 #D261F0
tetradic
#F0D261 #61F08A #617FF0 #F061C6
square
#F0D261 #61F08A #617FF0 #F061C6
split-complementary
#F0D261 #61C6F0 #8A61F0
monochromatic
#C49F13 #EBC229 #F0D261 #F5E299 #FBF2D1
Accessibility & contrast
On white
1.49
#F0D261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.10
#F0D261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D261
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D261 | 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)
#E5CE55
Deuteranopia (green-blind)
#EDD866
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f0d261; /* rgb */ color: rgb(240, 210, 97); /* oklch */ color: oklch(86.8% 0.136 94.5);
Tailwind
colors: {
custom: {
50: '#f8df92',
500: '#f0d261',
950: '#000000',
},
}SCSS
$custom: #f0d261; $custom-light: #f8df92; $custom-dark: #000000;
JSON
{
"hex": "#f0d261",
"rgb": {
"r": 240,
"g": 210,
"b": 97
},
"hsl": {
"h": 47.413,
"s": 82.659,
"l": 66.078
},
"oklch": {
"l": 0.86757,
"c": 0.13579,
"h": 94.5
},
"luminance": 0.65482
}Semantic roles & 50–950 ramp
primary
#F0D261
secondary
#3451C2
accent
#34DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F