#F2D160#F2D160
#F2D160 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.7% C 0.136 H 93.1°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D160 |
|---|---|
| RGB | rgb(242, 209, 96) |
| HSL | hsl(46, 85%, 66%) |
| HSV | hsv(46, 60%, 95%) |
| CMYK | cmyk(0%, 13.6%, 60.3%, 5.1%) |
| CIE-LAB | lab(84.65, -1.30, 59.03) |
| CIE-LCH | lch(84.65, 59.05, 91.26°) |
| OKLab | oklab(86.73% -0.0073 0.1361) |
| OKLCH | oklch(86.73% 0.136 93.1) |
| XYZ | xyz(61.5325, 65.3258, 20.4321) |
| Luminance | 0.6532 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.07
Maize
#F4D054
ΔE00 1.41
Pale Gold
#FDDE6C
ΔE00 2.94
Light Gold
#FDDC5C
ΔE00 2.99
Wheat (survey)
#FBDD7E
ΔE00 3.73
Sandy
#F1DA7A
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D160 #6081F2
analogous
#F28860 #F2D160 #CAF260
triadic
#F2D160 #60F2D1 #D160F2
tetradic
#F2D160 #60F288 #6081F2 #F260CA
square
#F2D160 #60F288 #6081F2 #F260CA
split-complementary
#F2D160 #60CAF2 #8860F2
monochromatic
#C79E10 #EDC127 #F2D160 #F7E199 #FBF2D1
Accessibility & contrast
On white
1.49
#F2D160 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.06
#F2D160 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D160
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D160 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D160 | 1.00 | 1.49 | 14.06 | 14.06 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CE54
Deuteranopia (green-blind)
#EDD765
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f2d160; /* rgb */ color: rgb(242, 209, 96); /* oklch */ color: oklch(86.7% 0.136 93.1);
Tailwind
colors: {
custom: {
50: '#fade91',
500: '#f2d160',
950: '#000000',
},
}SCSS
$custom: #f2d160; $custom-light: #fade91; $custom-dark: #000000;
JSON
{
"hex": "#f2d160",
"rgb": {
"r": 242,
"g": 209,
"b": 96
},
"hsl": {
"h": 46.438,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.86732,
"c": 0.13627,
"h": 93.1
},
"luminance": 0.65323
}Semantic roles & 50–950 ramp
primary
#F2D160
secondary
#3253C4
accent
#36E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F