#F5F462#F5F462
#F5F462 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.1% C 0.165 H 108.8°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).
Color values
| HEX | #F5F462 |
|---|---|
| RGB | rgb(245, 244, 98) |
| HSL | hsl(60, 88%, 67%) |
| HSV | hsv(60, 60%, 96%) |
| CMYK | cmyk(0%, 0.4%, 60%, 3.9%) |
| CIE-LAB | lab(93.88, -17.39, 68.38) |
| CIE-LCH | lch(93.88, 70.55, 104.27°) |
| OKLab | oklab(94.13% -0.0532 0.1561) |
| OKLCH | oklch(94.13% 0.165 108.8) |
| XYZ | xyz(72.2137, 84.9977, 24.1551) |
| Luminance | 0.8500 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.15
Butter Yellow
#FFFD74
ΔE00 2.16
Canary
#FDFF63
ΔE00 2.33
Custard
#FFFD78
ΔE00 2.41
Straw
#FCF679
ΔE00 2.50
Light Yellow
#FFFE7A
ΔE00 2.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5F462 #6263F5
analogous
#F5AB62 #F5F462 #ACF562
triadic
#F5F462 #62F5F4 #F462F5
tetradic
#F5F462 #62F5AB #6263F5 #F562AC
square
#F5F462 #62F5AB #6263F5 #F562AC
split-complementary
#F5F462 #62ACF5 #AB62F5
monochromatic
#CFCE0D #F1F028 #F5F462 #F9F89C #FCFCD5
Accessibility & contrast
On white
1.17
#F5F462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.00
#F5F462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5F462
18.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5F462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5F462 | 1.00 | 1.17 | 18.00 | 18.00 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB51
Deuteranopia (green-blind)
#FFF06B
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f5f462; /* rgb */ color: rgb(245, 244, 98); /* oklch */ color: oklch(94.1% 0.165 108.8);
Tailwind
colors: {
custom: {
50: '#fbf794',
500: '#f5f462',
950: '#000000',
},
}SCSS
$custom: #f5f462; $custom-light: #fbf794; $custom-dark: #000000;
JSON
{
"hex": "#f5f462",
"rgb": {
"r": 245,
"g": 244,
"b": 98
},
"hsl": {
"h": 59.592,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.94126,
"c": 0.16496,
"h": 108.8
},
"luminance": 0.84996
}Semantic roles & 50–950 ramp
primary
#F5F462
secondary
#3031CB
accent
#02E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F