#F4F462#F4F462
#F4F462 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.0% C 0.165 H 109.2°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).
Color values
| HEX | #F4F462 |
|---|---|
| RGB | rgb(244, 244, 98) |
| HSL | hsl(60, 87%, 67%) |
| HSV | hsv(60, 60%, 96%) |
| CMYK | cmyk(0%, 0%, 59.8%, 4.3%) |
| CIE-LAB | lab(93.80, -17.79, 68.27) |
| CIE-LCH | lch(93.80, 70.55, 104.60°) |
| OKLab | oklab(94.05% -0.0543 0.1559) |
| OKLCH | oklch(94.05% 0.165 109.2) |
| XYZ | xyz(71.8657, 84.8183, 24.1388) |
| Luminance | 0.8482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.19
Butter Yellow
#FFFD74
ΔE00 2.21
Canary
#FDFF63
ΔE00 2.33
Custard
#FFFD78
ΔE00 2.44
Straw
#FCF679
ΔE00 2.59
Light Yellow
#FFFE7A
ΔE00 2.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4F462 #6262F4
analogous
#F4AB62 #F4F462 #ABF462
triadic
#F4F462 #62F4F4 #F462F4
tetradic
#F4F462 #62F4AB #6262F4 #F462AB
square
#F4F462 #62F4AB #6262F4 #F462AB
split-complementary
#F4F462 #62ABF4 #AB62F4
monochromatic
#CDCD0E #F0F029 #F4F462 #F8F89B #FCFCD4
Accessibility & contrast
On white
1.17
#F4F462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.96
#F4F462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4F462
17.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4F462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4F462 | 1.00 | 1.17 | 17.96 | 17.96 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.96 | 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: #f4f462; /* rgb */ color: rgb(244, 244, 98); /* oklch */ color: oklch(94.0% 0.165 109.2);
Tailwind
colors: {
custom: {
50: '#fbf794',
500: '#f4f462',
950: '#000000',
},
}SCSS
$custom: #f4f462; $custom-light: #fbf794; $custom-dark: #000000;
JSON
{
"hex": "#f4f462",
"rgb": {
"r": 244,
"g": 244,
"b": 98
},
"hsl": {
"h": 60,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.94045,
"c": 0.16512,
"h": 109.2
},
"luminance": 0.84816
}Semantic roles & 50–950 ramp
primary
#F4F462
secondary
#3131C9
accent
#02E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F