#F5F378#F5F378
#F5F378 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.1% C 0.145 H 108.0°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).
Color values
| HEX | #F5F378 |
|---|---|
| RGB | rgb(245, 243, 120) |
| HSL | hsl(59, 86%, 72%) |
| HSV | hsv(59, 51%, 96%) |
| CMYK | cmyk(0%, 0.8%, 51%, 3.9%) |
| CIE-LAB | lab(93.83, -15.30, 58.79) |
| CIE-LCH | lch(93.83, 60.75, 104.58°) |
| OKLab | oklab(94.15% -0.045 0.1381) |
| OKLCH | oklch(94.15% 0.145 108) |
| XYZ | xyz(73.0988, 84.8716, 30.2969) |
| Luminance | 0.8487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.27
Yellowish Tan
#FCFC81
ΔE00 1.85
Manilla
#FFFA86
ΔE00 1.94
Custard
#FFFD78
ΔE00 2.27
Light Yellow
#FFFE7A
ΔE00 2.37
Butter
#FFFF81
ΔE00 2.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5F378 #787AF5
analogous
#F5B578 #F5F378 #B9F578
triadic
#F5F378 #78F5F3 #F378F5
tetradic
#F5F378 #78F5B5 #787AF5 #F578B9
square
#F5F378 #78F5B5 #787AF5 #F578B9
split-complementary
#F5F378 #78B9F5 #B578F5
monochromatic
#E2DF11 #F1EE3F #F5F378 #F9F8B1 #FDFCE3
Accessibility & contrast
On white
1.17
#F5F378 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.97
#F5F378 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5F378
17.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5F378 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5F378 | 1.00 | 1.17 | 17.97 | 17.97 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f5f378; /* rgb */ color: rgb(245, 243, 120); /* oklch */ color: oklch(94.1% 0.145 108.0);
Tailwind
colors: {
custom: {
50: '#fbf6a2',
500: '#f5f378',
950: '#000000',
},
}SCSS
$custom: #f5f378; $custom-light: #fbf6a2; $custom-dark: #000000;
JSON
{
"hex": "#f5f378",
"rgb": {
"r": 245,
"g": 243,
"b": 120
},
"hsl": {
"h": 59.04,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.94148,
"c": 0.14527,
"h": 108
},
"luminance": 0.8487
}Semantic roles & 50–950 ramp
primary
#F5F378
secondary
#4143D0
accent
#06E303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580