#F5F362#F5F362
#F5F362 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 93.9% C 0.164 H 108.4°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).
Color values
| HEX | #F5F362 |
|---|---|
| RGB | rgb(245, 243, 98) |
| HSL | hsl(59, 88%, 67%) |
| HSV | hsv(59, 60%, 96%) |
| CMYK | cmyk(0%, 0.8%, 60%, 3.9%) |
| CIE-LAB | lab(93.62, -16.90, 68.10) |
| CIE-LCH | lch(93.62, 70.17, 103.94°) |
| OKLab | oklab(93.92% -0.0518 0.1556) |
| OKLCH | oklch(93.92% 0.164 108.4) |
| XYZ | xyz(71.9136, 84.3976, 24.0551) |
| Luminance | 0.8440 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 2.28
Pastel Yellow
#FFFE71
ΔE00 2.31
Straw
#FCF679
ΔE00 2.41
Yellowish
#FAEE66
ΔE00 2.51
Custard
#FFFD78
ΔE00 2.51
Canary
#FDFF63
ΔE00 2.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5F362 #6264F5
analogous
#F5AA62 #F5F362 #ADF562
triadic
#F5F362 #62F5F3 #F362F5
tetradic
#F5F362 #62F5AA #6264F5 #F562AD
square
#F5F362 #62F5AA #6264F5 #F562AD
split-complementary
#F5F362 #62ADF5 #AA62F5
monochromatic
#CFCD0D #F1EF28 #F5F362 #F9F79C #FCFCD5
Accessibility & contrast
On white
1.17
#F5F362 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.88
#F5F362 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5F362
17.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5F362 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5F362 | 1.00 | 1.17 | 17.88 | 17.88 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA51
Deuteranopia (green-blind)
#FFEF6B
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f5f362; /* rgb */ color: rgb(245, 243, 98); /* oklch */ color: oklch(93.9% 0.164 108.4);
Tailwind
colors: {
custom: {
50: '#fbf694',
500: '#f5f362',
950: '#000000',
},
}SCSS
$custom: #f5f362; $custom-light: #fbf694; $custom-dark: #000000;
JSON
{
"hex": "#f5f362",
"rgb": {
"r": 245,
"g": 243,
"b": 98
},
"hsl": {
"h": 59.184,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.93919,
"c": 0.16396,
"h": 108.4
},
"luminance": 0.84396
}Semantic roles & 50–950 ramp
primary
#F5F362
secondary
#3032CB
accent
#04E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F