#F0D260#F0D260
#F0D260 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.7% C 0.137 H 94.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D260 |
|---|---|
| RGB | rgb(240, 210, 96) |
| HSL | hsl(48, 83%, 66%) |
| HSV | hsv(48, 60%, 94%) |
| CMYK | cmyk(0%, 12.5%, 60%, 5.9%) |
| CIE-LAB | lab(84.72, -2.64, 59.07) |
| CIE-LCH | lch(84.72, 59.12, 92.56°) |
| OKLab | oklab(86.75% -0.011 0.1362) |
| OKLCH | oklch(86.75% 0.137 94.6) |
| XYZ | xyz(61.0957, 65.4660, 20.4821) |
| Luminance | 0.6546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.36
Maize
#F4D054
ΔE00 1.87
Pale Gold
#FDDE6C
ΔE00 2.78
Light Gold
#FDDC5C
ΔE00 2.86
Sandy
#F1DA7A
ΔE00 3.41
Sand Yellow
#FCE166
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D260 #607EF0
analogous
#F08A60 #F0D260 #C6F060
triadic
#F0D260 #60F0D2 #D260F0
tetradic
#F0D260 #60F08A #607EF0 #F060C6
square
#F0D260 #60F08A #607EF0 #F060C6
split-complementary
#F0D260 #60C6F0 #8A60F0
monochromatic
#C39E12 #EBC228 #F0D260 #F5E298 #FBF2D0
Accessibility & contrast
On white
1.49
#F0D260 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.09
#F0D260 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D260
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D260 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D260 | 1.00 | 1.49 | 14.09 | 14.09 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CE54
Deuteranopia (green-blind)
#EDD765
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f0d260; /* rgb */ color: rgb(240, 210, 96); /* oklch */ color: oklch(86.7% 0.137 94.6);
Tailwind
colors: {
custom: {
50: '#f8df91',
500: '#f0d260',
950: '#000000',
},
}SCSS
$custom: #f0d260; $custom-light: #f8df91; $custom-dark: #000000;
JSON
{
"hex": "#f0d260",
"rgb": {
"r": 240,
"g": 210,
"b": 96
},
"hsl": {
"h": 47.5,
"s": 82.759,
"l": 65.882
},
"oklch": {
"l": 0.86746,
"c": 0.13663,
"h": 94.6
},
"luminance": 0.65463
}Semantic roles & 50–950 ramp
primary
#F0D260
secondary
#3351C1
accent
#34DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F