#F1D271#F1D271
#F1D271 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 87.0% C 0.122 H 92.0°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #F1D271 |
|---|---|
| RGB | rgb(241, 210, 113) |
| HSL | hsl(45, 82%, 69%) |
| HSV | hsv(45, 53%, 95%) |
| CMYK | cmyk(0%, 12.9%, 53.1%, 5.5%) |
| CIE-LAB | lab(84.99, -0.96, 51.53) |
| CIE-LCH | lch(84.99, 51.54, 91.07°) |
| OKLab | oklab(87.04% -0.0043 0.1217) |
| OKLCH | oklch(87.04% 0.122 92) |
| XYZ | xyz(62.3052, 65.9891, 25.0749) |
| Luminance | 0.6599 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.52
Sandy
#F1DA7A
ΔE00 2.72
Light Mustard
#F7D560
ΔE00 2.73
Sand (survey)
#E2CA76
ΔE00 3.29
Pale Gold
#FDDE6C
ΔE00 3.47
Maize
#F4D054
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F1D271 #7190F1
analogous
#F19271 #F1D271 #D0F171
triadic
#F1D271 #71F1D2 #D271F1
tetradic
#F1D271 #71F192 #7190F1 #F171D0
square
#F1D271 #71F192 #7190F1 #F171D0
split-complementary
#F1D271 #71D0F1 #9271F1
monochromatic
#D3A515 #ECC039 #F1D271 #F6E4A9 #FCF5E0
Accessibility & contrast
On white
1.48
#F1D271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.20
#F1D271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F1D271
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F1D271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F1D271 | 1.00 | 1.48 | 14.20 | 14.20 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CF68
Deuteranopia (green-blind)
#ECD875
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f1d271; /* rgb */ color: rgb(241, 210, 113); /* oklch */ color: oklch(87.0% 0.122 92.0);
Tailwind
colors: {
custom: {
50: '#f8df9c',
500: '#f1d271',
950: '#000000',
},
}SCSS
$custom: #f1d271; $custom-light: #f8df9c; $custom-dark: #000000;
JSON
{
"hex": "#f1d271",
"rgb": {
"r": 241,
"g": 210,
"b": 113
},
"hsl": {
"h": 45.469,
"s": 82.051,
"l": 69.412
},
"oklch": {
"l": 0.87036,
"c": 0.12182,
"h": 92
},
"luminance": 0.65986
}Semantic roles & 50–950 ramp
primary
#F1D271
secondary
#3C5ECA
accent
#3BDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F