#F5EC6E#F5EC6E
#F5EC6E is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.6% C 0.147 H 105.2°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).
Color values
| HEX | #F5EC6E |
|---|---|
| RGB | rgb(245, 236, 110) |
| HSL | hsl(56, 87%, 70%) |
| HSV | hsv(56, 55%, 96%) |
| CMYK | cmyk(0%, 3.7%, 55.1%, 3.9%) |
| CIE-LAB | lab(91.92, -12.65, 61.08) |
| CIE-LCH | lch(91.92, 62.37, 101.70°) |
| OKLab | oklab(92.6% -0.0385 0.142) |
| OKLCH | oklch(92.6% 0.147 105.2) |
| XYZ | xyz(70.4683, 80.5314, 26.5809) |
| Luminance | 0.8053 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.45
Sandy Yellow
#FDEE73
ΔE00 1.65
Straw
#FCF679
ΔE00 2.15
Manilla
#FFFA86
ΔE00 3.34
Custard
#FFFD78
ΔE00 3.68
Butter Yellow
#FFFD74
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5EC6E #6E77F5
analogous
#F5A96E #F5EC6E #BBF56E
triadic
#F5EC6E #6EF5EC #EC6EF5
tetradic
#F5EC6E #6EF5A9 #6E77F5 #F56EBB
square
#F5EC6E #6EF5A9 #6E77F5 #F56EBB
split-complementary
#F5EC6E #6EBBF5 #A96EF5
monochromatic
#DACC0F #F1E435 #F5EC6E #F9F4A7 #FDFBE1
Accessibility & contrast
On white
1.23
#F5EC6E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.11
#F5EC6E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5EC6E
17.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5EC6E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5EC6E | 1.00 | 1.23 | 17.11 | 17.11 |
| #FFFFFF | 1.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEE461
Deuteranopia (green-blind)
#FFEB75
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #f5ec6e; /* rgb */ color: rgb(245, 236, 110); /* oklch */ color: oklch(92.6% 0.147 105.2);
Tailwind
colors: {
custom: {
50: '#fbf19b',
500: '#f5ec6e',
950: '#000000',
},
}SCSS
$custom: #f5ec6e; $custom-light: #fbf19b; $custom-dark: #000000;
JSON
{
"hex": "#f5ec6e",
"rgb": {
"r": 245,
"g": 236,
"b": 110
},
"hsl": {
"h": 56,
"s": 87.097,
"l": 69.608
},
"oklch": {
"l": 0.926,
"c": 0.14716,
"h": 105.2
},
"luminance": 0.80529
}Semantic roles & 50–950 ramp
primary
#F5EC6E
secondary
#3842CF
accent
#11E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F