#F2D460#F2D460
#F2D460 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.138 H 94.9°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D460 |
|---|---|
| RGB | rgb(242, 212, 96) |
| HSL | hsl(48, 85%, 66%) |
| HSV | hsv(48, 60%, 95%) |
| CMYK | cmyk(0%, 12.4%, 60.3%, 5.1%) |
| CIE-LAB | lab(85.41, -2.83, 59.88) |
| CIE-LCH | lch(85.41, 59.95, 92.71°) |
| OKLab | oklab(87.33% -0.0117 0.1379) |
| OKLCH | oklch(87.33% 0.138 94.9) |
| XYZ | xyz(62.2755, 66.8118, 20.6798) |
| Luminance | 0.6681 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.13
Maize
#F4D054
ΔE00 1.89
Pale Gold
#FDDE6C
ΔE00 2.35
Light Gold
#FDDC5C
ΔE00 2.37
Sand Yellow
#FCE166
ΔE00 3.04
Yellow Tan
#FFE36E
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D460 #607EF2
analogous
#F28B60 #F2D460 #C7F260
triadic
#F2D460 #60F2D4 #D460F2
tetradic
#F2D460 #60F28B #607EF2 #F260C7
square
#F2D460 #60F28B #607EF2 #F260C7
split-complementary
#F2D460 #60C7F2 #8B60F2
monochromatic
#C7A210 #EDC527 #F2D460 #F7E399 #FBF3D1
Accessibility & contrast
On white
1.46
#F2D460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.36
#F2D460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D460
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D460 | 1.00 | 1.46 | 14.36 | 14.36 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D054
Deuteranopia (green-blind)
#EFD965
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d460; /* rgb */ color: rgb(242, 212, 96); /* oklch */ color: oklch(87.3% 0.138 94.9);
Tailwind
colors: {
custom: {
50: '#fae091',
500: '#f2d460',
950: '#000000',
},
}SCSS
$custom: #f2d460; $custom-light: #fae091; $custom-dark: #000000;
JSON
{
"hex": "#f2d460",
"rgb": {
"r": 242,
"g": 212,
"b": 96
},
"hsl": {
"h": 47.671,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.8733,
"c": 0.13838,
"h": 94.9
},
"luminance": 0.66809
}Semantic roles & 50–950 ramp
primary
#F2D460
secondary
#3250C4
accent
#32E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F