#F3E172#F3E172
#F3E172 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.2% C 0.133 H 100.2°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).
Color values
| HEX | #F3E172 |
|---|---|
| RGB | rgb(243, 225, 114) |
| HSL | hsl(52, 84%, 70%) |
| HSV | hsv(52, 53%, 95%) |
| CMYK | cmyk(0%, 7.4%, 53.1%, 4.7%) |
| CIE-LAB | lab(88.98, -7.68, 55.82) |
| CIE-LCH | lch(88.98, 56.35, 97.83°) |
| OKLab | oklab(90.24% -0.0237 0.1311) |
| OKLCH | oklch(90.24% 0.133 100.2) |
| XYZ | xyz(66.9268, 74.1225, 26.6980) |
| Luminance | 0.7412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.48
Sand Yellow
#FCE166
ΔE00 2.73
Yellow Tan
#FFE36E
ΔE00 2.81
Sandy
#F1DA7A
ΔE00 2.84
Sandy Yellow
#FDEE73
ΔE00 3.08
Pale Gold
#FDDE6C
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F3E172 #7284F3
analogous
#F3A172 #F3E172 #C4F372
triadic
#F3E172 #72F3E1 #E172F3
tetradic
#F3E172 #72F3A1 #7284F3 #F372C4
square
#F3E172 #72F3A1 #7284F3 #F372C4
split-complementary
#F3E172 #72C4F3 #A172F3
monochromatic
#D8BD12 #EED53A #F3E172 #F8EDAA #FDF9E3
Accessibility & contrast
On white
1.33
#F3E172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.82
#F3E172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F3E172
15.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F3E172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F3E172 | 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)
#F3DB68
Deuteranopia (green-blind)
#F8E377
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f3e172; /* rgb */ color: rgb(243, 225, 114); /* oklch */ color: oklch(90.2% 0.133 100.2);
Tailwind
colors: {
custom: {
50: '#f9ea9d',
500: '#f3e172',
950: '#000000',
},
}SCSS
$custom: #f3e172; $custom-light: #f9ea9d; $custom-dark: #000000;
JSON
{
"hex": "#f3e172",
"rgb": {
"r": 243,
"g": 225,
"b": 114
},
"hsl": {
"h": 51.628,
"s": 84.314,
"l": 70
},
"oklch": {
"l": 0.90237,
"c": 0.13326,
"h": 100.2
},
"luminance": 0.7412
}Semantic roles & 50–950 ramp
primary
#F3E172
secondary
#3C51CD
accent
#23E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F