#F1EF5A#F1EF5A
#F1EF5A is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.7% C 0.167 H 108.5°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F1EF5A |
|---|---|
| RGB | rgb(241, 239, 90) |
| HSL | hsl(59, 84%, 65%) |
| HSV | hsv(59, 63%, 95%) |
| CMYK | cmyk(0%, 0.8%, 62.7%, 5.5%) |
| CIE-LAB | lab(92.21, -17.07, 69.74) |
| CIE-LCH | lch(92.21, 71.79, 103.75°) |
| OKLab | oklab(92.7% -0.0529 0.158) |
| OKLCH | oklch(92.7% 0.167 108.5) |
| XYZ | xyz(68.9899, 81.1740, 21.7049) |
| Luminance | 0.8117 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 2.52
Yellowish
#FAEE66
ΔE00 2.54
Straw
#FCF679
ΔE00 3.14
Butter Yellow
#FFFD74
ΔE00 3.23
Pastel Yellow
#FFFE71
ΔE00 3.25
Canary
#FDFF63
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F1EF5A #5A5CF1
analogous
#F1A35A #F1EF5A #A8F15A
triadic
#F1EF5A #5AF1EF #EF5AF1
tetradic
#F1EF5A #5AF1A3 #5A5CF1 #F15AA8
square
#F1EF5A #5AF1A3 #5A5CF1 #F15AA8
split-complementary
#F1EF5A #5AA8F1 #A35AF1
monochromatic
#C0BE10 #ECEA22 #F1EF5A #F6F492 #FBFACB
Accessibility & contrast
On white
1.22
#F1EF5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.23
#F1EF5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F1EF5A
17.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F1EF5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F1EF5A | 1.00 | 1.22 | 17.23 | 17.23 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE647
Deuteranopia (green-blind)
#FFEB63
Tritanopia (blue-blind)
#FFE1D0
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #f1ef5a; /* rgb */ color: rgb(241, 239, 90); /* oklch */ color: oklch(92.7% 0.167 108.5);
Tailwind
colors: {
custom: {
50: '#f9f48f',
500: '#f1ef5a',
950: '#000000',
},
}SCSS
$custom: #f1ef5a; $custom-light: #f9f48f; $custom-dark: #000000;
JSON
{
"hex": "#f1ef5a",
"rgb": {
"r": 241,
"g": 239,
"b": 90
},
"hsl": {
"h": 59.205,
"s": 84.358,
"l": 64.902
},
"oklch": {
"l": 0.92695,
"c": 0.16662,
"h": 108.5
},
"luminance": 0.81172
}Semantic roles & 50–950 ramp
primary
#F1EF5A
secondary
#3133BE
accent
#08E105
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F