#F3E171#F3E171
#F3E171 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.2% C 0.134 H 100.3°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).
Color values
| HEX | #F3E171 |
|---|---|
| RGB | rgb(243, 225, 113) |
| HSL | hsl(52, 84%, 70%) |
| HSV | hsv(52, 53%, 95%) |
| CMYK | cmyk(0%, 7.4%, 53.5%, 4.7%) |
| CIE-LAB | lab(88.97, -7.75, 56.27) |
| CIE-LCH | lch(88.97, 56.80, 97.85°) |
| OKLab | oklab(90.23% -0.024 0.132) |
| OKLCH | oklch(90.23% 0.134 100.3) |
| XYZ | xyz(66.8702, 74.0999, 26.3999) |
| Luminance | 0.7410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.37
Sand Yellow
#FCE166
ΔE00 2.67
Yellow Tan
#FFE36E
ΔE00 2.78
Sandy
#F1DA7A
ΔE00 2.93
Sandy Yellow
#FDEE73
ΔE00 3.03
Pale Gold
#FDDE6C
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F3E171 #7183F3
analogous
#F3A071 #F3E171 #C4F371
triadic
#F3E171 #71F3E1 #E171F3
tetradic
#F3E171 #71F3A0 #7183F3 #F371C4
square
#F3E171 #71F3A0 #7183F3 #F371C4
split-complementary
#F3E171 #71C4F3 #A071F3
monochromatic
#D7BC12 #EED539 #F3E171 #F8EDA9 #FDF9E2
Accessibility & contrast
On white
1.33
#F3E171 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.82
#F3E171 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F3E171
15.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F3E171 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F3E171 | 1.00 | 1.33 | 15.82 | 15.82 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DB66
Deuteranopia (green-blind)
#F8E376
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f3e171; /* rgb */ color: rgb(243, 225, 113); /* oklch */ color: oklch(90.2% 0.134 100.3);
Tailwind
colors: {
custom: {
50: '#f9ea9d',
500: '#f3e171',
950: '#000000',
},
}SCSS
$custom: #f3e171; $custom-light: #f9ea9d; $custom-dark: #000000;
JSON
{
"hex": "#f3e171",
"rgb": {
"r": 243,
"g": 225,
"b": 113
},
"hsl": {
"h": 51.692,
"s": 84.416,
"l": 69.804
},
"oklch": {
"l": 0.90225,
"c": 0.13419,
"h": 100.3
},
"luminance": 0.74097
}Semantic roles & 50–950 ramp
primary
#F3E171
secondary
#3B50CD
accent
#23E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F